Inherits Object.
Contains information about a Saved Messages topic.
Public Fields | |
int53 | id_ |
Unique topic identifier. | |
object_ptr< SavedMessagesTopicType > | type_ |
Type of the topic. | |
bool | is_pinned_ |
True, if the topic is pinned. | |
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. | |
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 | |
savedMessagesTopic () | |
savedMessagesTopic (int53 id_, object_ptr< SavedMessagesTopicType > &&type_, bool is_pinned_, int64 order_, 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 = -760684124 |
Identifier uniquely determining a type of the object. | |
Contains information about a Saved Messages topic.
savedMessagesTopic | ( | int53 | id_, |
object_ptr< SavedMessagesTopicType > && | type_, | ||
bool | is_pinned_, | ||
int64 | order_, | ||
object_ptr< message > && | last_message_, | ||
object_ptr< draftMessage > && | draft_message_ | ||
) |
Contains information about a Saved Messages topic.
[in] | id_ | Unique topic identifier. |
[in] | type_ | Type of the topic. |
[in] | is_pinned_ | True, if the topic is pinned. |
[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] | 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 |