List of all members | Public Fields | Public Instance Methods | Static Public Attributes
forumTopics Class Referencefinal

Inherits Object.

Description

Describes a list of forum topics.

Public Fields

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

Public Instance Methods

 forumTopics ()
 
 forumTopics (int32 total_count_, array< object_ptr< forumTopic >> &&topics_, int32 next_offset_date_, int53 next_offset_message_id_, int53 next_offset_message_thread_id_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ forumTopics() [1/2]

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_,
int53  next_offset_message_thread_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_message_thread_id_Offset message thread identifier for the next getForumTopics request.

Method 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: