通知渠道
约 899 字大约 3 分钟
2025-05-04
指南简介
- 采用消息轮循方式接收消息,无需特殊设置即具有 Telegram 消息交互能力。
- 需要网络能正常连接 Telegram,如无法连接,请给 Symedia 添加代理。
配置指南
通知渠道【图文】
创建机器人

获取机器人
HTTP API
获取 Tg ID

设置 Sy Tg 通知

测试
- 咱就是说,这个真的真的不需要图了吧???再不行,你看看上一步圈起来绿绿的 测试连接 按钮呢。
- 记得先保存,在按 测试连接 按钮。
结束
创建机器人
- 搜索 @BotFather 机器人
- 点击左下角菜单栏,选择最顶部的
/newbot - 输入 Symedia 通知 的名称或自己取名。
Yourself, [2024/11/24 21:37] /newbot BotFather,[2024/11/24 21:37] Alright, a new bot. How are we going to call it? Please choose a name for your bot.获取机器人
HTTP API- 给自己的机器人起一个独一无二的 ID。注意: 以
bot或_bot结尾。 - 记得复制保存
HTTP API,等下需要用到。
Yourself,[2024/11/24 21:37] Symedia 通知 BotFather,[2024/11/24 21:37] Good. Now let's choose a username for your bot. It must end in `bot`. Like this, for example: TetrisBot or tetris_bot. Yourself, [2024/11/24 21:37] symdeia_test_bot BotFather,[2024/11/24 21:37] Done! Congratulations on your new bot. You will find it at t.me/symdeia_test_bot. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you've finished creating your cool bot, ping our Bot Support if you want a better username for it. Just make sure the bot is fully operational before you do this. Use this token to access the HTTP API: # 下面这行 API,复制它,等下要用 1234567891:ABCD-abcdefgHIJKLMNopqrstUVWXYZ Keep your token secure and store it safely, it can be used by anyone to control your bot. For a description of the Bot API, see this page: https://core.telegram.org/bots/api- 给自己的机器人起一个独一无二的 ID。注意: 以
获取 Tg ID
- 搜索 @ChatIDHelperBot 或者 @userinfobot 等任意可以获取用户ID的机器人。
- 点击开始,然后等待机器人返回,复制第一行的 ID。
ChatID Helper Bot, [2024/11/24 21:39] ├ message id: 1234 🟢 From ├ Title: Yourself ├ Chat ID: 1234567890 └ Username: @Yourself 🔵 Chat ├ Title: Yourself ├ Chat ID: 1234567890 └ Username: Yourself设置 Sy Tg 通知
Bot Token: 设置 Telegram 机器人的 token。- 填写
@BotFather获取到的 API。例如:1234567891:ABCD-abcdefgHIJKLMNopqrstUVWXYZ。
- 填写
Chat ID(管理员白名单): 设置 可以接受消息通知的用户。群组或频道Chat ID。- 设置后,只有在管理员白名单的用户才可以关注你的机器人并操作命令功能。
- 填写
@getidsbot获取到的 ID。 例如:1234567890。
用户白名单: 设置 可使用 Telegram 机器人的用户 ID 清单,多个用户用,分割,不填写则所有用户都能使用。- 设置后,只有用户白名单中的 ID 对应用户,才能关注你的机器人发送消息。
- 填写
@getidsbot获取到的 ID。 例如:1234567890。
测试
- 保存好设置后,进行测试连接,查看机器人是否给你发送通知。如果成功,会给你发送一条测试消息。
- 该通知在你创建的机器人对话框进行通知!按照上述例子,在第 2 步中,BotFather 发给你的消息能看到你机器人的链接。
- Done! Congratulations on your new bot. You will find it at
t.me/symdeia_test_bot.。 - 例如: 下边的消息,由创建好的机器人
symdeia_test_bot发送给你的。
Symedia 通知, [2024/11/24 21:41] Symedia:这是一条测试消息结束
更多设置支持项说明请看 通知