|
TDLib
|
Inherits Update.
The position of a chat in a chat list has changed. An updateChatLastMessage or updateChatDraftMessage update might be sent instead of the update.
Public Member Functions | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| updateChatPosition () | |
| updateChatPosition (int53 chat_id_, object_ptr< chatPosition > &&position_) | |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| int53 | chat_id_ |
| Chat identifier. | |
| object_ptr< chatPosition > | position_ |
| New chat position. If new order is 0, then the chat needs to be removed from the list. | |
Static Public Attributes | |
| static const std::int32_t | ID = -8979849 |
| Identifier uniquely determining a type of the object. | |
| updateChatPosition | ( | ) |
The position of a chat in a chat list has changed. An updateChatLastMessage or updateChatDraftMessage update might be sent instead of the update.
| updateChatPosition | ( | int53 | chat_id_, |
| object_ptr< chatPosition > && | position_ ) |
The position of a chat in a chat list has changed. An updateChatLastMessage or updateChatDraftMessage update might be sent instead of the update.
| [in] | chat_id_ | Chat identifier. |
| [in] | position_ | New chat position. If new order is 0, then the chat needs to be removed from the list. |
|
finalvirtual |