Added a note regarding set_my_commands in documentation.
This commit is contained in:
parent
abec3dc60e
commit
d769a657c5
|
@ -4483,6 +4483,8 @@ class AsyncTeleBot:
|
|||
"""
|
||||
Use this method to change the list of the bot's commands.
|
||||
|
||||
Note: Commands have to be in all lowercase. Otherwise, Telegram API throws an error.
|
||||
|
||||
Telegram documentation: https://core.telegram.org/bots/api#setmycommands
|
||||
|
||||
:param commands: List of BotCommand. At most 100 commands can be specified.
|
||||
|
|
Loading…
Reference in New Issue