requestPeerTypeCreateBot
Signature
Section titled “Signature”requestPeerTypeCreateBot#3e81e078 flags:# bot_managed:flags.0?true suggested_name:flags.1?string suggested_username:flags.2?string = RequestPeerType;Result type
Section titled “Result type”RequestPeerType
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| bot_managed | flags.0?true | flags.0 | — | |
| suggested_name | flags.1?string | flags.1 | — | |
| suggested_username | flags.2?string | flags.2 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| bot_managed | 0 | Controlled by flags; present when this bit is set. |
| suggested_name | 1 | Controlled by flags; present when this bit is set. |
| suggested_username | 2 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import RequestPeerTypeCreateBotPublic access: miniproto.raw.types.RequestPeerTypeCreateBot.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
RequestPeerType - Related constructors:
requestPeerTypeBroadcast,requestPeerTypeChat,requestPeerTypeUser - Accepted by:
buttonTypeRequestPeer,inputButtonTypeRequestPeer