|
TDLib
|
Inherits Object.
Describes a game. Use getInternalLink with internalLinkTypeGame to share the game.
Public Member Functions | |
| game () | |
| game (int64 id_, string const &short_name_, string const &title_, object_ptr< formattedText > &&text_, string const &description_, object_ptr< photo > &&photo_, object_ptr< animation > &&animation_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| object_ptr< animation > | animation_ |
| Game animation; may be null. | |
| string | description_ |
| Game description. | |
| int64 | id_ |
| Unique game identifier. | |
| object_ptr< photo > | photo_ |
| Game photo. | |
| string | short_name_ |
| Game short name. | |
| object_ptr< formattedText > | text_ |
| Game text, usually containing scoreboards for a game. | |
| string | title_ |
| Game title. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1565597752 |
| Identifier uniquely determining a type of the object. | |
| game | ( | ) |
Describes a game. Use getInternalLink with internalLinkTypeGame to share the game.
| game | ( | int64 | id_, |
| string const & | short_name_, | ||
| string const & | title_, | ||
| object_ptr< formattedText > && | text_, | ||
| string const & | description_, | ||
| object_ptr< photo > && | photo_, | ||
| object_ptr< animation > && | animation_ ) |
Describes a game. Use getInternalLink with internalLinkTypeGame to share the game.
| [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. |
|
finalvirtual |