bots.GetBotInfo#

class pyrogram.raw.functions.bots.GetBotInfo#

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

Details:
  • Layer: 158

  • ID: DCD914FD

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

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

Returns:

bots.BotInfo