Interface UpdateChatPosition

The position of a chat in a chat list has changed. An updateChatLastMessage or updateChatDraftMessage update might be sent instead of the update. Subtype of Update.

interface UpdateChatPosition {
    @type: "updateChatPosition";
    chat_id: number;
    position: ChatPosition;
}

Properties

@type: "updateChatPosition"
chat_id: number

Chat identifier.

position: ChatPosition

New chat position. If new order is 0, then the chat needs to be removed from the list.