WebAppData class
Describes data sent from a Web App to the bot.
Constructors
- WebAppData(String data, String buttonText)
- Basic constructor
Properties
-
Text of the web_app keyboard button from which the Web App was opened.
Be aware that a bad client can send arbitrary data in this field.
getter/setter pair
- data ↔ String
-
The data.
Be aware that a bad client can send arbitrary data in this field.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map - Creates a json from the object
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → WebAppData - Creates a object from a json