Added a note regarding set_my_commands in documentation.

This commit is contained in:
jensenhuangyankai 2023-05-01 05:05:10 +00:00
parent abec3dc60e
commit d769a657c5
1 changed files with 2 additions and 0 deletions

View File

@ -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.