Added a note regarding set_my_commands in documentation. In sync as well.

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

View File

@ -3631,6 +3631,8 @@ class TeleBot:
"""
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.