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

Inherits Object.

Description

Describes a list of forum topics.

Public Member Functions

 forumTopics ()
 forumTopics (int32 total_count_, array< object_ptr< forumTopic > > &&topics_, int32 next_offset_date_, int53 next_offset_message_id_, int32 next_offset_forum_topic_id_)
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

int32 next_offset_date_
 Offset date for the next getForumTopics request.
int32 next_offset_forum_topic_id_
 Offset forum topic identifier for the next getForumTopics request.
int53 next_offset_message_id_
 Offset message identifier for the next getForumTopics request.
array< object_ptr< forumTopic > > topics_
 List of forum topics.
int32 total_count_
 Approximate total number of forum topics found.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ forumTopics() [1/2]

forumTopics ( )

Describes a list of forum topics.

◆ forumTopics() [2/2]

forumTopics ( int32 total_count_,
array< object_ptr< forumTopic > > && topics_,
int32 next_offset_date_,
int53 next_offset_message_id_,
int32 next_offset_forum_topic_id_ )

Describes a list of forum topics.

Parameters
[in]total_count_Approximate total number of forum topics found.
[in]topics_List of forum topics.
[in]next_offset_date_Offset date for the next getForumTopics request.
[in]next_offset_message_id_Offset message identifier for the next getForumTopics request.
[in]next_offset_forum_topic_id_Offset forum topic identifier for the next getForumTopics request.

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: