Interface UpdateChatLastMessage

The last message of a chat was changed. Subtype of Update.

interface UpdateChatLastMessage {
    @type: "updateChatLastMessage";
    chat_id: number;
    last_message: Message;
    positions: ChatPosition[];
}

Properties

@type: "updateChatLastMessage"
chat_id: number

Chat identifier.

last_message: Message

The new last message in the chat; may be null if the last message became unknown. While the last message is unknown, new messages can be added to the chat without corresponding updateNewMessage update.

positions: ChatPosition[]

The new chat positions in the chat lists.