Inherits Object.
Contains basic information about a forum topic.
Public Fields | |
| int53 | chat_id_ |
| Identifier of the forum chat to which the topic belongs. | |
| int53 | forum_topic_id_ |
| Forum topic identifier of the topic. | |
| 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. If the topic is closed, then the user must have can_manage_topics administrator right in the supergroup or must be the creator of the topic to send messages there. | |
| 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 chat_id_, int53 forum_topic_id_, 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 = 1573650873 |
| Identifier uniquely determining a type of the object. | |
| forumTopicInfo | ( | ) |
Contains basic information about a forum topic.
| forumTopicInfo | ( | int53 | chat_id_, |
| int53 | forum_topic_id_, | ||
| 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] | chat_id_ | Identifier of the forum chat to which the topic belongs. |
| [in] | forum_topic_id_ | Forum topic identifier of the 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. If the topic is closed, then the user must have can_manage_topics administrator right in the supergroup or must be the creator of the topic to send messages there. |
| [in] | is_hidden_ | True, if the topic is hidden above the topic list and closed; for General topic only. |
|
finalvirtual |