SetMyCommandsRequest

data class SetMyCommandsRequest(commands: List<BotCommand>) : TelegramRequest

Use this method to change the list of the bot's commands. Returns True on success.

Constructors

SetMyCommandsRequest
Link copied to clipboard
fun SetMyCommandsRequest(commands: List<BotCommand>)

Properties

commands
Link copied to clipboard
val commands: List<BotCommand>
A JSON-serialized list of bot commands to be set as the list of the bot's commands.