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:
parent
abec3dc60e
commit
d769a657c5
@ -4483,6 +4483,8 @@ class AsyncTeleBot:
|
|||||||
"""
|
"""
|
||||||
Use this method to change the list of the bot's commands.
|
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
|
Telegram documentation: https://core.telegram.org/bots/api#setmycommands
|
||||||
|
|
||||||
:param commands: List of BotCommand. At most 100 commands can be specified.
|
:param commands: List of BotCommand. At most 100 commands can be specified.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user