teleproto - v1.229.0
    Preparing search index...

    Interface DeleteHistoryParams

    interface DeleteHistoryParams {
        justClear?: boolean;
        maxDate?: number;
        maxId?: number;
        minDate?: number;
        revoke?: boolean;
    }
    Index
    justClear?: boolean

    Only clear the history for the current user, without leaving the chat (private chats and small groups only).

    maxDate?: number

    Only delete messages sent before this date (private chats and small groups only).

    maxId?: number

    Delete only messages with IDs up to and including this one. Defaults to all.

    minDate?: number

    Only delete messages sent after this date (private chats and small groups only).

    revoke?: boolean

    Delete the history for the other side as well (private chats and small groups: revoke; channels and supergroups: forEveryone).