tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::game Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::game:
td::td_api::Object td::TlObject

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 td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

int64 id_
 Unique game identifier.
 
string short_name_
 Game short name.
 
string title_
 Game title.
 
object_ptr< formattedTexttext_
 Game text, usually containing scoreboards for a game.
 
string description_
 Game description.
 
object_ptr< photophoto_
 Game photo.
 
object_ptr< animationanimation_
 Game animation; may be null.
 

Static Public Attributes

static const std::int32_t ID = -1565597752
 Identifier uniquely determining a type of the object.
 

Detailed Description

Describes a game. Use getInternalLink with internalLinkTypeGame to share the game.

Definition at line 22675 of file td_api.h.

Constructor & Destructor Documentation

◆ game() [1/2]

td::td_api::game::game ( )

Describes a game. Use getInternalLink with internalLinkTypeGame to share the game.

◆ game() [2/2]

td::td_api::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.

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.

Member Function Documentation

◆ 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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ animation_

object_ptr<animation> td::td_api::game::animation_

Game animation; may be null.

Definition at line 22698 of file td_api.h.

◆ description_

string td::td_api::game::description_

Game description.

Definition at line 22694 of file td_api.h.

◆ ID

const std::int32_t td::td_api::game::ID = -1565597752
static

Identifier uniquely determining a type of the object.

Definition at line 22719 of file td_api.h.

◆ id_

int64 td::td_api::game::id_

Unique game identifier.

Definition at line 22686 of file td_api.h.

◆ photo_

object_ptr<photo> td::td_api::game::photo_

Game photo.

Definition at line 22696 of file td_api.h.

◆ short_name_

string td::td_api::game::short_name_

Game short name.

Definition at line 22688 of file td_api.h.

◆ text_

object_ptr<formattedText> td::td_api::game::text_

Game text, usually containing scoreboards for a game.

Definition at line 22692 of file td_api.h.

◆ title_

string td::td_api::game::title_

Game title.

Definition at line 22690 of file td_api.h.


The documentation for this class was generated from the following file: