#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| | forumTopic () |
| |
| | forumTopic (object_ptr< forumTopicInfo > &&info_, object_ptr< message > &&last_message_, int64 order_, bool is_pinned_, int32 unread_count_, int53 last_read_inbox_message_id_, int53 last_read_outbox_message_id_, int32 unread_mention_count_, int32 unread_reaction_count_, int32 unread_poll_vote_count_, object_ptr< chatNotificationSettings > &¬ification_settings_, object_ptr< draftMessage > &&draft_message_) |
| |
| 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 |
| |
|
| static const std::int32_t | ID = 779443783 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes a forum topic.
Definition at line 21823 of file td_api.h.
◆ forumTopic() [1/2]
| td::td_api::forumTopic::forumTopic |
( |
| ) |
|
◆ forumTopic() [2/2]
| td::td_api::forumTopic::forumTopic |
( |
object_ptr< forumTopicInfo > && |
info_, |
|
|
object_ptr< message > && |
last_message_, |
|
|
int64 |
order_, |
|
|
bool |
is_pinned_, |
|
|
int32 |
unread_count_, |
|
|
int53 |
last_read_inbox_message_id_, |
|
|
int53 |
last_read_outbox_message_id_, |
|
|
int32 |
unread_mention_count_, |
|
|
int32 |
unread_reaction_count_, |
|
|
int32 |
unread_poll_vote_count_, |
|
|
object_ptr< chatNotificationSettings > && |
notification_settings_, |
|
|
object_ptr< draftMessage > && |
draft_message_ |
|
) |
| |
Describes a forum topic.
- Parameters
-
| [in] | info_ | Basic information about the topic. |
| [in] | last_message_ | Last message in the topic; may be null if unknown. |
| [in] | order_ | A parameter used to determine order of the topic in the topic list. Topics must be sorted by the order in descending order. |
| [in] | is_pinned_ | True, if the topic is pinned in the topic list. |
| [in] | unread_count_ | Number of unread messages in the topic. |
| [in] | last_read_inbox_message_id_ | Identifier of the last read incoming message. |
| [in] | last_read_outbox_message_id_ | Identifier of the last read outgoing message. |
| [in] | unread_mention_count_ | Number of unread messages with a mention/reply in the topic. |
| [in] | unread_reaction_count_ | Number of messages with unread reactions in the topic. |
| [in] | unread_poll_vote_count_ | Number of messages with unread poll votes in the topic. |
| [in] | notification_settings_ | Notification settings for the topic. |
| [in] | draft_message_ | A draft of a message in the topic; may be null if none. |
◆ store()
| void td::td_api::forumTopic::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.
◆ draft_message_
A draft of a message in the topic; may be null if none.
Definition at line 21856 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::forumTopic::ID = 779443783 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 21882 of file td_api.h.
◆ info_
Basic information about the topic.
Definition at line 21834 of file td_api.h.
◆ is_pinned_
| bool td::td_api::forumTopic::is_pinned_ |
True, if the topic is pinned in the topic list.
Definition at line 21840 of file td_api.h.
◆ last_message_
Last message in the topic; may be null if unknown.
Definition at line 21836 of file td_api.h.
◆ last_read_inbox_message_id_
| int53 td::td_api::forumTopic::last_read_inbox_message_id_ |
Identifier of the last read incoming message.
Definition at line 21844 of file td_api.h.
◆ last_read_outbox_message_id_
| int53 td::td_api::forumTopic::last_read_outbox_message_id_ |
Identifier of the last read outgoing message.
Definition at line 21846 of file td_api.h.
◆ notification_settings_
Notification settings for the topic.
Definition at line 21854 of file td_api.h.
◆ order_
| int64 td::td_api::forumTopic::order_ |
A parameter used to determine order of the topic in the topic list. Topics must be sorted by the order in descending order.
Definition at line 21838 of file td_api.h.
◆ unread_count_
| int32 td::td_api::forumTopic::unread_count_ |
Number of unread messages in the topic.
Definition at line 21842 of file td_api.h.
◆ unread_mention_count_
| int32 td::td_api::forumTopic::unread_mention_count_ |
Number of unread messages with a mention/reply in the topic.
Definition at line 21848 of file td_api.h.
◆ unread_poll_vote_count_
| int32 td::td_api::forumTopic::unread_poll_vote_count_ |
Number of messages with unread poll votes in the topic.
Definition at line 21852 of file td_api.h.
◆ unread_reaction_count_
| int32 td::td_api::forumTopic::unread_reaction_count_ |
Number of messages with unread reactions in the topic.
Definition at line 21850 of file td_api.h.
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