示例对话 ·
今天
Alright, a new bot. How are we going to call it? Please choose a name for your bot.14:20
中文意思:开始申请新机器人。请给它起一个显示名(聊天列表里看到的名字,可以用中文)。
你发送:换成你自己想要的名字。这里的「USDT交易提醒」只是例子,也可以叫「TRX收款通知」。
Good. Now let's choose a username for your bot. It must end in `bot`.
Like this, for example: TetrisBot or tetris_bot.14:21
中文意思:显示名称可以了。接下来起用户名:必须是英文或数字,可以有下划线 _,并且以 bot 结尾。例如 gongBot 或 okpay7_bot 这个全网不能重复
例如你的名字拼音加 _bot 被占用了就多加几个字母或数字再试。
Done! Congratulations on your new bot. You will find it at t.me/daozhang_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:
1234567890:AAExampleTokenDoNotUseThisKey
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/api14:21
中文意思:
「Done! Congratulations…」= 申请成功。
「You will find it at t.me/……」= 这是机器人的链接,
不用填到本页。
中间一大段 description / about / picture / Bot Support / /help = 改简介、头像等,
现在都可以不管。
「Use this token…」后面
单独一行、带冒号的那串,才是 Token。
「Keep your token secure…」= 这串相当于钥匙
最后的 Bot API 网址 = api开发文档,
可以忽略。
只要复制黄色这一行: 1234567890:AAExampleTokenxxx
真实申请时,数字和字母会不一样。从第一个数字一直复制到最后,冒号前后都要,中间不要有空格。