set_bot_info_short_description()#
- Client.set_bot_info_short_description()#
Use this method to change the bot’s short description, which is shown on the bot’s profile page and is sent together with the link when users share the bot.
Note
If the current account is an User, can be called only if the
for_my_bot
hascan_be_edited
property set to True.- Parameters:
short_description (
str
) – New short description for the bot; 0-120 characters. Pass an empty string to remove the dedicated short description for the given language.language_code (
str
, optional) – A two-letter ISO 639-1 language code or an empty stringfor_my_bot (
int
|str
, optional) – Unique identifier (int) or username (str) of the bot for which profile photo has to be updated instead of the current user. The bot should havecan_be_edited
property set to True.
- Returns:
bool
– True on success.
Example
await app.set_bot_info_short_description("")