bots.SetBotInfo#

class pyrogram.raw.functions.bots.SetBotInfo#

Set localized name, about text and description of a bot (or of the current account, if called by a bot).

Details:
  • Layer: 158

  • ID: 10CF3123

Parameters:
  • lang_code (str) – Language code, if left empty update the fallback about text and description.

  • bot (InputUser, optional) – If called by a user, must contain the peer of a bot we own.

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

  • about (str, optional) – New about text.

  • description (str, optional) – New description.

Returns:

bool