teleproto - v1.229.0
    Preparing search index...

    Interface MessagesDeleteSavedHistoryParams

    interface MessagesDeleteSavedHistoryParams {
        maxDate?: number;
        maxId: number;
        minDate?: number;
        parentPeer?: EntityLike;
        peer: EntityLike;
    }
    Index
    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

    parentPeer?: EntityLike

    If set, affects the messages of the passed monoforum topic » , otherwise affects saved messages » .

    peer: EntityLike

    Peer, whose messages will be deleted from saved messages » , or the ID of the topic.