MenuButtonWebApp class

Represents a menu button, which launches a Web App.

Inheritance

Constructors

Constructs a MenuButtonWebApp object
const
Creates a MenuButtonWebApp object from JSON object
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Text on the button
final
type MenuButtonType
Type of the button, always MenuButtonType.webApp
no setteroverride
webApp WebAppInfo
Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a MenuButtonWebApp object to JSON object
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited