MenuButtonCommands class
Represents a menu button, which opens the bot's list of commands.
- Inheritance
-
- Object
- MenuButton
- MenuButtonCommands
Constructors
- MenuButtonCommands()
-
Constructs a MenuButtonCommands object
const
-
MenuButtonCommands.fromJson(Map<
String, dynamic> json) - Creates a MenuButtonCommands object from JSON object
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → MenuButtonType
-
Type of the button, always MenuButtonType.commands
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts a MenuButtonCommands object to JSON object
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited