teleproto - v1.229.0
    Preparing search index...

    Interface MessagesSearchParams

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

    Additional offset

    Filter to return only specified message types

    fromId?: EntityLike

    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

    peer: EntityLike

    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?: EntityLike

    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?: MessageIDLike

    Thread ID