Inherits Object.
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< forumTopicIcon > | icon_ |
Icon of the topic. | |
int32 | creation_date_ |
Point in time (Unix timestamp) when the topic was created. | |
object_ptr< MessageSender > | creator_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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -1879842914 |
Identifier uniquely determining a type of the object. | |
forumTopicInfo | ( | ) |
Contains basic information about a forum topic.
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.
[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. |
|
finalvirtual |