-
Game ID
Declaration
Swift
public let id: TDInt64 -
Game short name. To share a game use the URL https://t.me/{bot_username}?game={game_short_name}
Declaration
Swift
public let shortName: String -
Game title
Declaration
Swift
public let title: String -
Game text, usually containing scoreboards for a game
Declaration
Swift
public let text: FormattedText -
Game description
Declaration
Swift
public let description: String -
Game photo
Declaration
Swift
public let photo: Photo -
Game animation; may be null
Declaration
Swift
public let animation: Animation? -
Describes a game
Declaration
Swift
public init(id: TDInt64, shortName: String, title: String, text: FormattedText, description: String, photo: Photo, animation: Animation?)Parameters
idGame ID
shortNameGame short name. To share a game use the URL https://t.me/{bot_username}?game={game_short_name}
titleGame title
textGame text, usually containing scoreboards for a game
descriptionGame description
photoGame photo
animationGame animation; may be null
View on GitHub
Install in Dash
Game Structure Reference