botInfo
Signature
Section titled “Signature”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;Result type
Section titled “Result type”BotInfo
Parameters
Section titled “Parameters”| 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. |
Python binding
Section titled “Python binding”from miniproto.raw.types import BotInfoPublic access: miniproto.raw.types.BotInfo.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
BotInfo - Accepted by:
channelFull,chatFull,userFull