|
TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
| messageThreadInfo () | |
| messageThreadInfo (int53 chat_id_, int53 message_thread_id_, object_ptr< messageReplyInfo > &&reply_info_, int32 unread_message_count_, array< object_ptr< message > > &&messages_, object_ptr< draftMessage > &&draft_message_) | |
| 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 | chat_id_ |
| Identifier of the chat to which the message thread belongs. | |
| int53 | message_thread_id_ |
| Message thread identifier, unique within the chat. | |
| object_ptr< messageReplyInfo > | reply_info_ |
| Information about the message thread; may be null for forum topic threads. | |
| int32 | unread_message_count_ |
| Approximate number of unread messages in the message thread. | |
| array< object_ptr< message > > | messages_ |
| The messages from which the thread starts. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). | |
| object_ptr< draftMessage > | draft_message_ |
| A draft of a message in the message thread; may be null if none. | |
Static Public Attributes | |
| static const std::int32_t | ID = -248536056 |
| Identifier uniquely determining a type of the object. | |
Contains information about a message thread.
| td::td_api::messageThreadInfo::messageThreadInfo | ( | ) |
Contains information about a message thread.
| td::td_api::messageThreadInfo::messageThreadInfo | ( | int53 | chat_id_, |
| int53 | message_thread_id_, | ||
| object_ptr< messageReplyInfo > && | reply_info_, | ||
| int32 | unread_message_count_, | ||
| array< object_ptr< message > > && | messages_, | ||
| object_ptr< draftMessage > && | draft_message_ | ||
| ) |
Contains information about a message thread.
| [in] | chat_id_ | Identifier of the chat to which the message thread belongs. |
| [in] | message_thread_id_ | Message thread identifier, unique within the chat. |
| [in] | reply_info_ | Information about the message thread; may be null for forum topic threads. |
| [in] | unread_message_count_ | Approximate number of unread messages in the message thread. |
| [in] | messages_ | The messages from which the thread starts. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). |
| [in] | draft_message_ | A draft of a message in the message thread; may be null if none. |
|
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.