问题
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