赞
踩
telegram 机器人开发
把变量
token
和username
替换为自己的内容
如果是在本地跑的话,需要开启代理 vpn
不要试图在国内的服务器跑,国内服务器连接不是telegram
先给 BotFather 发送指令
/newbot
发送机器人名字
上一步后回应:
Alright, a new bot. How are we going to call it? Please choose a name for your bot.
比如叫 小艾 就发送 小艾
给机器人起用户名
上一步回复:Good. Now let’s choose a username for your bot. It must end in
bot
. Like this, for example: TetrisBot or tetris_bot.
发送一个机器人用户
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。