BotCommand

@Serializable
data class BotCommand(val command: String, val description: String) : MultipleResponse

This object represents a bot command.

Api reference

Constructors

Link copied to clipboard
constructor(command: String, description: String)

Properties

Link copied to clipboard

Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.

Link copied to clipboard

Description of the command; 1-256 characters.