Interface UpdateDeleteMessages

Some messages were deleted. Subtype of Update.

interface UpdateDeleteMessages {
    @type: "updateDeleteMessages";
    chat_id: number;
    from_cache?: boolean;
    is_permanent?: boolean;
    message_ids: number[];
}

Properties

@type: "updateDeleteMessages"
chat_id: number

Chat identifier.

from_cache?: boolean

True, if the messages are deleted only from the cache and can possibly be retrieved again in the future.

is_permanent?: boolean

True, if the messages are permanently deleted by a user (as opposed to just becoming inaccessible).

message_ids: number[]

Identifiers of the deleted messages.