Inherits Object.
Contains information about a topic in a channel direct messages chat administered by the current user.
Public Fields | |
| int53 | chat_id_ |
| Identifier of the chat to which the topic belongs. | |
| int53 | id_ |
| Unique topic identifier. | |
| object_ptr< MessageSender > | sender_id_ |
| Identifier of the user or chat that sends the messages to the topic. | |
| int64 | order_ |
| A parameter used to determine order of the topic in the topic list. Topics must be sorted by the order in descending order. | |
| bool | can_send_unpaid_messages_ |
| True, if the other party can send unpaid messages even if the chat has paid messages enabled. | |
| bool | is_marked_as_unread_ |
| True, if the forum topic is marked as unread. | |
| int53 | unread_count_ |
| Number of unread messages in the chat. | |
| int53 | last_read_inbox_message_id_ |
| Identifier of the last read incoming message. | |
| int53 | last_read_outbox_message_id_ |
| Identifier of the last read outgoing message. | |
| int53 | unread_reaction_count_ |
| Number of messages with unread reactions in the chat. | |
| object_ptr< message > | last_message_ |
| Last message in the topic; may be null if none or unknown. | |
| object_ptr< draftMessage > | draft_message_ |
| A draft of a message in the topic; may be null if none. | |
Public Instance Methods | |
| directMessagesChatTopic () | |
| directMessagesChatTopic (int53 chat_id_, int53 id_, object_ptr< MessageSender > &&sender_id_, int64 order_, bool can_send_unpaid_messages_, bool is_marked_as_unread_, int53 unread_count_, int53 last_read_inbox_message_id_, int53 last_read_outbox_message_id_, int53 unread_reaction_count_, object_ptr< message > &&last_message_, object_ptr< draftMessage > &&draft_message_) | |
| 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 = 1778377757 |
| Identifier uniquely determining a type of the object. | |
Contains information about a topic in a channel direct messages chat administered by the current user.
| directMessagesChatTopic | ( | int53 | chat_id_, |
| int53 | id_, | ||
| object_ptr< MessageSender > && | sender_id_, | ||
| int64 | order_, | ||
| bool | can_send_unpaid_messages_, | ||
| bool | is_marked_as_unread_, | ||
| int53 | unread_count_, | ||
| int53 | last_read_inbox_message_id_, | ||
| int53 | last_read_outbox_message_id_, | ||
| int53 | unread_reaction_count_, | ||
| object_ptr< message > && | last_message_, | ||
| object_ptr< draftMessage > && | draft_message_ | ||
| ) |
Contains information about a topic in a channel direct messages chat administered by the current user.
| [in] | chat_id_ | Identifier of the chat to which the topic belongs. |
| [in] | id_ | Unique topic identifier. |
| [in] | sender_id_ | Identifier of the user or chat that sends the messages to the topic. |
| [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] | can_send_unpaid_messages_ | True, if the other party can send unpaid messages even if the chat has paid messages enabled. |
| [in] | is_marked_as_unread_ | True, if the forum topic is marked as unread. |
| [in] | unread_count_ | Number of unread messages in the chat. |
| [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_reaction_count_ | Number of messages with unread reactions in the chat. |
| [in] | last_message_ | Last message in the topic; may be null if none or unknown. |
| [in] | draft_message_ | A draft of a message in the topic; may be null if none. |
|
finalvirtual |