get_bot_info_description()#
- Client.get_bot_info_description()#
Use this method to get the current / owned bot description for the given user language.
Usable by Users BotsNote
If the current account is an User, can be called only if the
for_my_bothascan_be_editedproperty set to True.- Parameters:
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_editedproperty set to True.
- Returns:
str– On success, returns the text shown in the chat with a bot if the chat is empty in the given language.
Example
bot_description = await app.get_bot_info_description()