GameLink class
Game Links
Used to share a game with a bot.
The t.me link will be in the format: https://t.me/<bot_username>?game=<short_name>
The tg link will be in the format: tg://resolve?domain=<bot_username>&game=<short_name>
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- https → String
-
https://t.me/ link
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortName → String
-
The short name of the game.
final
- tg → String
-
tg:// link
no setteroverride
- username → String
-
The username of the bot.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
By default, this method returns the tg link.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited