Skip to content

class Tourmaline::MenuButtonCommands
inherits Reference #

Represents a menu button, which opens the bot's list of commands.

Included modules

JSON::Serializable

Constructors#

.new(pull : JSON::PullParser) #

View source

.new(type) #

View source

Methods#

#type : String #

Type of the button, must be commands

View source

#type=(type : String) #

Type of the button, must be commands

View source