MenuButtonType enum
This object represents the Menu Button Type. Read about the Menu Button here.
Constructors
- MenuButtonType(String value)
-
Constructs a new MenuButtonType.
const
Values
- commands → const MenuButtonType
-
Menu Button shows a list of commands
const MenuButtonType("commands")
- webApp → const MenuButtonType
-
Menu Button opens a web app
const MenuButtonType("web_app")
- defaultButton → const MenuButtonType
-
The default button
const MenuButtonType("default")
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Converts this MenuButtonType to a String.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
String value) → MenuButtonType - Constructs a new MenuButtonType from a String.
Constants
-
values
→ const List<
MenuButtonType> - A constant List of the values in this enum, in order of their declaration.