teleproto - v1.229.0
    Preparing search index...

    Interface MessagesSetInlineBotResultsParams

    interface MessagesSetInlineBotResultsParams {
        cacheTime: number;
        gallery?: boolean;
        nextOffset?: string;
        private?: boolean;
        queryId: BigInteger;
        results: TypeInputBotInlineResultIn[];
        switchPm?: InlineBotSwitchPMIn;
        switchWebview?: InlineBotWebViewIn;
    }
    Index
    cacheTime: number

    The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300.

    gallery?: boolean

    Set this flag if the results are composed of media files

    nextOffset?: string

    Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you don't support pagination. Offset length can't exceed 64 bytes.

    private?: boolean

    Set this flag if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query

    queryId: BigInteger

    Unique identifier for the answered query

    Vector of results for the inline query

    If passed, clients will display a button on top of the remaining inline result list with the specified text, that switches the user to a private chat with the bot and sends the bot a start message with a certain parameter.

    switchWebview?: InlineBotWebViewIn

    If passed, clients will display a button on top of the remaining inline result list with the specified text, that switches the user to the specified inline mode mini app .