teleproto - v1.234.0
    Preparing search index...

    Interface MessagesSearchParams

    interface MessagesSearchParams {
        addOffset: number;
        filter: TypeMessagesFilterIn;
        fromId?: TypeInputPeerIn;
        hash: BigInteger;
        limit: number;
        maxDate: number;
        maxId: number;
        minDate: number;
        minId: number;
        offsetId: number;
        peer: TypeInputPeerIn;
        q: string;
        savedPeerId?: TypeInputPeerIn;
        savedReaction?: TypeReactionIn[];
        topMsgId?: number;
    }
    Index
    addOffset: number

    Additional offset

    Filter to return only specified message types

    Only return messages sent by the specified user ID

    hash: BigInteger

    Hash

    limit: number

    Number of results to return , can be 0 to only return the message counter.

    maxDate: number

    If a positive value was transferred, only messages with a sending date smaller than the transferred one will be returned

    maxId: number

    Maximum message ID to return

    minDate: number

    If a positive value was transferred, only messages with a sending date bigger than the transferred one will be returned

    minId: number

    Minimum message ID to return

    offsetId: number

    Only return messages starting from the specified message ID

    User or chat, histories with which are searched, or (inputPeerEmpty) constructor to search in all private chats and normal groups (not channels) » . Use messages.searchGlobal to search globally in all chats, groups, supergroups and channels.

    q: string

    Text search request

    savedPeerId?: TypeInputPeerIn

    Search within the saved message dialog » with this ID.

    savedReaction?: TypeReactionIn[]

    You may search for saved messages tagged » with one or more reactions using this flag.

    topMsgId?: number

    Thread ID