Inherits td::td_api::Object.
|
static const std::int32_t | ID = -1565597752 |
| Identifier uniquely determining a type of the object.
|
|
Describes a game. Use getInternalLink with internalLinkTypeGame to share the game.
◆ game() [1/2]
td::td_api::game::game |
( |
| ) |
|
◆ game() [2/2]
Describes a game. Use getInternalLink with internalLinkTypeGame to share the game.
- Parameters
-
[in] | id_ | Unique game identifier. |
[in] | short_name_ | Game short name. |
[in] | title_ | Game title. |
[in] | text_ | Game text, usually containing scoreboards for a game. |
[in] | description_ | Game description. |
[in] | photo_ | Game photo. |
[in] | animation_ | Game animation; may be null. |
◆ get_id()
std::int32_t td::td_api::game::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::game::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: