set_bot_info()

Client.set_bot_info()

Get the bot info in given language.

Usable by Users Bots

Note

For normal bot you can only use this method to self. For userbot you can only use this method if you are the owner of target bot.

Parameters:
  • lang_code ``str`` – A two-letter ISO 639-1 language code.

  • bot (int | str, optional) – Unique identifier (int) or username (str) of the target bot.

  • name (str, optional) – The bot name.

  • about (str, optional) – The bot bio.

  • description (str, optional) – Description of the bot;