botCommand
Signature
Section titled “Signature”botCommand#9852d6d2 flags:# ephemeral:flags.0?true command:string description:string = BotCommand;Result type
Section titled “Result type”BotCommand
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| ephemeral | flags.0?true | flags.0 | — | |
| command | string | — | — | |
| description | string | — | — |
| Parameter | Bit | Meaning |
|---|---|---|
| ephemeral | 0 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import BotCommandPublic access: miniproto.raw.types.BotCommand.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
BotCommand - Accepted by:
bots.setBotCommands,botInfo,updateBotCommands - Returned by:
bots.getBotCommands