Skip to content

botInfo

botInfo#4d8a0299 flags:# has_preview_medias:flags.6?true user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector<BotCommand> menu_button:flags.3?BotMenuButton privacy_policy_url:flags.7?string app_settings:flags.8?BotAppSettings verifier_settings:flags.9?BotVerifierSettings = BotInfo;

BotInfo

Name Type Flag Default Description
flags # flag word —
has_preview_medias flags.6?true flags.6 —
user_id flags.0?long flags.0 —
description flags.1?string flags.1 —
description_photo flags.4?Photo flags.4 —
description_document flags.5?Document flags.5 —
commands flags.2?Vector flags.2 —
menu_button flags.3?BotMenuButton flags.3 —
privacy_policy_url flags.7?string flags.7 —
app_settings flags.8?BotAppSettings flags.8 —
verifier_settings flags.9?BotVerifierSettings flags.9 —
Parameter Bit Meaning
has_preview_medias 6 Controlled by flags; present when this bit is set.
user_id 0 Controlled by flags; present when this bit is set.
description 1 Controlled by flags; present when this bit is set.
description_photo 4 Controlled by flags; present when this bit is set.
description_document 5 Controlled by flags; present when this bit is set.
commands 2 Controlled by flags; present when this bit is set.
menu_button 3 Controlled by flags; present when this bit is set.
privacy_policy_url 7 Controlled by flags; present when this bit is set.
app_settings 8 Controlled by flags; present when this bit is set.
verifier_settings 9 Controlled by flags; present when this bit is set.
from miniproto.raw.types import BotInfo

Public access: miniproto.raw.types.BotInfo.

BotInfo

Schema sources