InternalLinkTypeGame class

Inheritance

Constructors

InternalLinkTypeGame({required String botUsername, required String gameShortName, dynamic extra, int? clientId})
The link is a link to a game. Call searchPublicChat with the given bot username, check that the user is a bot, ask the current user to select a chat to send the game, and then call sendMessage with inputMessageGame
const
InternalLinkTypeGame.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

botUsername String
botUsername Username of the bot that owns the game
final
clientId int?
clientId client identifier
final
extra → dynamic
extra callback sign
final
gameShortName String
gameShortName Short name of the game
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? botUsername, String? gameShortName, dynamic extra, int? clientId}) InternalLinkTypeGame
override
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String