teleproto - v1.229.0
    Preparing search index...

    Interface MessagesDeleteHistoryParams

    interface MessagesDeleteHistoryParams {
        justClear?: boolean;
        maxDate?: number;
        maxId: number;
        minDate?: number;
        peer: EntityLike;
        revoke?: boolean;
    }
    Index
    justClear?: boolean

    Just clear history for the current user, without actually removing messages for every chat user

    maxDate?: number

    Delete all messages older than this UNIX timestamp

    maxId: number

    Maximum ID of message to delete

    minDate?: number

    Delete all messages newer than this UNIX timestamp

    peer: EntityLike

    User or chat, communication history of which will be deleted

    revoke?: boolean

    Whether to delete the message history for all chat participants