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

Inherits Object.

Description

Contains basic information about a forum topic.

Public Fields

int53 message_thread_id_
 Message thread identifier of the topic.
 
string name_
 Name of the topic.
 
object_ptr< forumTopicIconicon_
 Icon of the topic.
 
int32 creation_date_
 Point in time (Unix timestamp) when the topic was created.
 
object_ptr< MessageSendercreator_id_
 Identifier of the creator of the topic.
 
bool is_general_
 True, if the topic is the General topic list.
 
bool is_outgoing_
 True, if the topic was created by the current user.
 
bool is_closed_
 True, if the topic is closed.
 
bool is_hidden_
 True, if the topic is hidden above the topic list and closed; for General topic only.
 

Public Instance Methods

 forumTopicInfo ()
 
 forumTopicInfo (int53 message_thread_id_, string const &name_, object_ptr< forumTopicIcon > &&icon_, int32 creation_date_, object_ptr< MessageSender > &&creator_id_, bool is_general_, bool is_outgoing_, bool is_closed_, bool is_hidden_)
 
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 = -1879842914
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ forumTopicInfo() [1/2]

Contains basic information about a forum topic.

◆ forumTopicInfo() [2/2]

forumTopicInfo ( int53  message_thread_id_,
string const &  name_,
object_ptr< forumTopicIcon > &&  icon_,
int32  creation_date_,
object_ptr< MessageSender > &&  creator_id_,
bool  is_general_,
bool  is_outgoing_,
bool  is_closed_,
bool  is_hidden_ 
)

Contains basic information about a forum topic.

Parameters
[in]message_thread_id_Message thread identifier of the topic.
[in]name_Name of the topic.
[in]icon_Icon of the topic.
[in]creation_date_Point in time (Unix timestamp) when the topic was created.
[in]creator_id_Identifier of the creator of the topic.
[in]is_general_True, if the topic is the General topic list.
[in]is_outgoing_True, if the topic was created by the current user.
[in]is_closed_True, if the topic is closed.
[in]is_hidden_True, if the topic is hidden above the topic list and closed; for General topic only.

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: