bots.BotInfo

class pyrogram.raw.types.bots.BotInfo

Localized information about a bot.

Constructor of BotInfo.

Details:
  • Layer: 223

  • ID: E8A775B0

Parameters:
  • name (str) – Bot name

  • about (str) – Bot about text

  • description (str) – Bot description

Functions:

This object can be returned by 1 function.

bots.GetBotInfo

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

TL Schema

bots.botInfo#e8a775b0
name:string
about:string
description:string

= bots.BotInfo

Parameter Tree

BotInfo
├── namestring
├── aboutstring
└── descriptionstring

Example

BotInfo(
    name="text",
    about="text",
    description="text",
)