get_bot_info()

async Client.get_bot_info()

Get bot info (name, about, description).

Usable by Users Bots
Parameters:
  • bot (Union[int, str], *optional*) – Bot username or ID

  • lang_code (str, *optional*) – Language code for localized info

Returns:

BotInfo

Example

await app.get_bot_info(...)