SetInlineGameScore class

Inheritance

Constructors

SetInlineGameScore({String inlineMessageId, bool editMessage, int userId, int score, bool force})
Updates the game score of the specified user in a game; for bots only. inlineMessageId Inline message identifier . editMessage True, if the message should be edited . userId User identifier . score The new score. force Pass true to update the score even if it decreases. If the score is 0, the user will be deleted from the high score table
SetInlineGameScore.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

constructor String
read / write, inherited
editMessage bool
read / write
extra ↔ dynamic
read / write
force bool
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inlineMessageId String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
score int
read / write
userId int
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"setInlineGameScore"