Michael
Michael

Reputation: 1467

Automate setcommands

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?

Upvotes: 1

Views: 545

Answers (1)

ariaby
ariaby

Reputation: 902

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

Upvotes: 2

Related Questions