Automate setcommands

六月ゝ 毕业季﹏ 提交于 2021-02-07 10:14:21

问题


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?


回答1:


There is not API method to set commands, you have to use the Botfather.



来源:https://stackoverflow.com/questions/37231451/automate-setcommands

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!