|
TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
| 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_) | |
| std::int32_t | get_id () const final |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::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 |
Public Attributes | |
| 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. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1879842914 |
| Identifier uniquely determining a type of the object. | |
Contains basic information about a forum topic.
| td::td_api::forumTopicInfo::forumTopicInfo | ( | ) |
Contains basic information about a forum topic.
| td::td_api::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_ | ||
| ) |
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. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.