#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| | forumTopicInfo () |
| |
| | forumTopicInfo (int53 chat_id_, int32 forum_topic_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_, bool is_name_implicit_) |
| |
| void | store (TlStorerToString &s, const char *field_name) const final |
| |
| 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 |
| |
|
| int53 | chat_id_ |
| | Identifier of a forum supergroup chat or a chat with a bot to which the topic belongs.
|
| |
| int32 | forum_topic_id_ |
| | Forum topic 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.
|
| |
| 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.
|
| |
| bool | is_name_implicit_ |
| | True, if the name of the topic wasn't added explicitly.
|
| |
|
| static const std::int32_t | ID = -1951851836 |
| | Identifier uniquely determining a type of the object.
|
| |
Contains basic information about a forum topic.
Definition at line 21941 of file td_api.h.
◆ forumTopicInfo() [1/2]
| td::td_api::forumTopicInfo::forumTopicInfo |
( |
| ) |
|
Contains basic information about a forum topic.
◆ forumTopicInfo() [2/2]
| td::td_api::forumTopicInfo::forumTopicInfo |
( |
int53 |
chat_id_, |
|
|
int32 |
forum_topic_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_, |
|
|
bool |
is_name_implicit_ |
|
) |
| |
Contains basic information about a forum topic.
- Parameters
-
| [in] | chat_id_ | Identifier of a forum supergroup chat or a chat with a bot to which the topic belongs. |
| [in] | forum_topic_id_ | Forum topic 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. |
| [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. |
| [in] | is_name_implicit_ | True, if the name of the topic wasn't added explicitly. |
◆ store()
| void td::td_api::forumTopicInfo::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] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ chat_id_
| int53 td::td_api::forumTopicInfo::chat_id_ |
Identifier of a forum supergroup chat or a chat with a bot to which the topic belongs.
Definition at line 21952 of file td_api.h.
◆ creation_date_
| int32 td::td_api::forumTopicInfo::creation_date_ |
Point in time (Unix timestamp) when the topic was created.
Definition at line 21960 of file td_api.h.
◆ creator_id_
Identifier of the creator of the topic.
Definition at line 21962 of file td_api.h.
◆ forum_topic_id_
| int32 td::td_api::forumTopicInfo::forum_topic_id_ |
Forum topic identifier of the topic.
Definition at line 21954 of file td_api.h.
◆ icon_
◆ ID
| const std::int32_t td::td_api::forumTopicInfo::ID = -1951851836 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 21997 of file td_api.h.
◆ is_closed_
| bool td::td_api::forumTopicInfo::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.
Definition at line 21968 of file td_api.h.
◆ is_general_
| bool td::td_api::forumTopicInfo::is_general_ |
True, if the topic is the General topic.
Definition at line 21964 of file td_api.h.
◆ is_hidden_
| bool td::td_api::forumTopicInfo::is_hidden_ |
True, if the topic is hidden above the topic list and closed; for General topic only.
Definition at line 21970 of file td_api.h.
◆ is_name_implicit_
| bool td::td_api::forumTopicInfo::is_name_implicit_ |
True, if the name of the topic wasn't added explicitly.
Definition at line 21972 of file td_api.h.
◆ is_outgoing_
| bool td::td_api::forumTopicInfo::is_outgoing_ |
True, if the topic was created by the current user.
Definition at line 21966 of file td_api.h.
◆ name_
| string td::td_api::forumTopicInfo::name_ |
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h