自动化设置命令 [英] Automate setcommands
本文介绍了自动化设置命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以自动执行 setcommands 命令?
我想在应用程序启动时注册我的所有命令,所以我不必手动执行此操作(这在开发过程中有点糟糕).
是否有 HTTP API 或者我可以从我的机器人向 Botfather 发送消息吗?
Is it possible to automate the setcommands command?
I want to register all my commands on startup of the application, so I don't have to do that manually (which kinda sucks during development).
Is there a HTTP API or can I send a message to the Botfather from my bot?
推荐答案
没有API方法设置命令,必须使用Botfather.
There is not API method to set commands, you have to use the Botfather.
这篇关于自动化设置命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文