BotInfo#
- class pyrogram.raw.types.BotInfo#
Info about bots (available bot commands, etc)
Constructor of
BotInfo
.- Details:
Layer:
198
ID:
4D8A0299
- Parameters:
has_preview_medias (
bool
, optional) – If set, the bot has some preview medias for the configured Main Mini App, see here » for more info on Main Mini App preview medias.user_id (
int
64-bit
, optional) – ID of the botdescription (
str
, optional) – Description of the botdescription_photo (
Photo
, optional) – Description photodescription_document (
Document
, optional) – Description animation in MPEG4 formatcommands (List of
BotCommand
, optional) – Bot commands that can be used in the chatmenu_button (
BotMenuButton
, optional) – Indicates the action to execute when pressing the in-UI menu button for botsprivacy_policy_url (
str
, optional) – The HTTP link to the privacy policy of the bot. If not set, then the /privacy command must be used, if supported by the bot (i.e. if it’s present in the commands vector). If it isn’t supported, then https://telegram.org/privacy-tpa must be opened, instead.app_settings (
BotAppSettings
, optional) – Mini app » settingsverifier_settings (
BotVerifierSettings
, optional) – N/A