BotCommand

data class BotCommand(command: String, description: String) : TelegramModel

This object represents a bot command.

Constructors

BotCommand
Link copied to clipboard
fun BotCommand(command: String, description: String)
Creates a BotCommand.

Properties

command
Link copied to clipboard
val command: String
Text of the command, 1-32 characters.
description
Link copied to clipboard
val description: String
Description of the command, 3-256 characters.