TDLib
Loading...
Searching...
No Matches
storyInfo Class Referencefinal

Inherits Object.

Description

Contains basic information about a story.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 storyInfo ()
 storyInfo (int32 story_id_, int32 date_, bool is_for_close_friends_, bool is_live_)
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

int32 date_
 Point in time (Unix timestamp) when the story was published.
bool is_for_close_friends_
 True, if the story is available only to close friends.
bool is_live_
 True, if the story is a live story.
int32 story_id_
 Unique story identifier among stories of the chat.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ storyInfo() [1/2]

storyInfo ( )

Contains basic information about a story.

◆ storyInfo() [2/2]

storyInfo ( int32 story_id_,
int32 date_,
bool is_for_close_friends_,
bool is_live_ )

Contains basic information about a story.

Parameters
[in]story_id_Unique story identifier among stories of the chat.
[in]date_Point in time (Unix timestamp) when the story was published.
[in]is_for_close_friends_True, if the story is available only to close friends.
[in]is_live_True, if the story is a live story.

Member Function Documentation

◆ store()

void 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 TlObject.


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