1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

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

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.