class Tourmaline::BotCommand
- Tourmaline::BotCommand
- Reference
- Object
Overview
This object represents a bot command.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
Instance Method Summary
-
#command : String
Text of the command; 1-32 characters.
-
#command=(command : String)
Text of the command; 1-32 characters.
-
#description : String
Description of the command; 1-256 characters.
-
#description=(description : String)
Description of the command; 1-256 characters.
Constructor Detail
Instance Method Detail
def command : String
#
Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.
def command=(command : String)
#
Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.