1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 01:46:55 +01:00
MadelineProto/docs/TD_docs/constructors/updateChatOrder.md
2017-07-23 16:33:46 +02:00

844 B

title description
updateChatOrder Order of the chat in the chat list has changed

Constructor: updateChatOrder

Back to constructors index

Order of the chat in the chat list has changed

Attributes:

Name Type Required Description
chat_id long Yes Chat identifier
order long Yes New value of the order

Type: Update

Example:

$updateChatOrder = ['_' => 'updateChatOrder', 'chat_id' => long, 'order' => long];

PWRTelegram json-encoded version:

{"_": "updateChatOrder", "chat_id": long, "order": long}

Or, if you're into Lua:

updateChatOrder={_='updateChatOrder', chat_id=long, order=long}