class

Tourmaline::BotCommand

Inherits JSON::Serializable / Reference / Object

This object represents a bot command.

Constructors

new(command : String, description : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

command

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

Source
command=(command : String)

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

Source
description

Description of the command; 1-256 characters.

Source
description=(description : String)

Description of the command; 1-256 characters.

Source