telegram java,telegram_bot

本文档介绍了如何通过BotFather创建Telegram机器人,并提供了相关API命令以进行设置和管理。您将学会如何生成授权令牌、编辑机器人信息以及启用HTTP API。创建完成后,您可以在Telegram中通过/t.me/bajiegege_bot启动机器人。
摘要由CSDN通过智能技术生成

new group -> 选择人  -> 填写群名

搜索BotFather -> start

===========================

ou can control me by sending these commands:

/newbot - create a new bot

/mybots - edit your bots [beta]

Edit Bots

/setname - change a bot's name

/setdescription - change bot description

/setabouttext - change bot about info

/setuserpic - change bot profile photo

/setcommands - change the list of commands

/deletebot - delete a bot

Bot Settings

/token - generate authorization token

/revoke - revoke bot access token

/setinline - toggle inline mode

/setinlinegeo - toggle inline location requests

/setinlinefeedback - change inline feedback settings

/setjoingroups - can your bot be added to groups?

/setprivacy - toggle privacy mode in groups

Games

/mygames - edit your games [beta]

/newgame - create a new game

/listgames - get a list of your games

/editgame - edit a game

/deletegame - delete an existing game

===========================

点击“t.me/bajiegege_bot”弹出窗口,点击start按钮启动api

newbot -> bajiegege_bot

BotFather:

Done! Congratulations on your new bot. You will find it at t.me/bajiegege_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:

587965106:AAHvTI0_DrMk9XASvcdMKrZwCyGvssJzTRo

For a description of the Bot API, see this page: https://core.telegram.org/bots/api

=====================

/setprivacy  ->  disabled

https://api.telegram.org/bot587965106:AAHvTI0_DrMk9XASvcdMKrZwCyGvssJzTRo/getMe

https://api.telegram.org/bot587965106:AAHvTI0_DrMk9XASvcdMKrZwCyGvssJzTRo/getUpdates

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值