-
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
id
Game ID
shortName
Game short name. To share a game use the URL https://t.me/{bot_username}?game={game_short_name}
title
Game title
text
Game text, usually containing scoreboards for a game
description
Game description
photo
Game photo
animation
Game animation; may be null