teleproto - v1.229.0
    Preparing search index...

    Interface MessagesRequestWebViewParams

    interface MessagesRequestWebViewParams {
        bot: EntityLike;
        compact?: boolean;
        fromBotMenu?: boolean;
        fullscreen?: boolean;
        peer: EntityLike;
        platform: string;
        replyTo?: TypeInputReplyToIn;
        sendAs?: EntityLike;
        silent?: boolean;
        startParam?: string;
        themeParams?: DataJSONIn;
        url?: string;
    }
    Index
    bot: EntityLike

    Bot that owns the web app

    compact?: boolean

    If set, requests to open the mini app in compact mode (as opposed to normal or fullscreen mode). Must be set if the mode parameter of the attachment menu deep link is equal to compact .

    fromBotMenu?: boolean

    Whether the webview was opened by clicking on the bot's menu button » .

    fullscreen?: boolean

    If set, requests to open the mini app in fullscreen mode (as opposed to normal or compact mode). Must be set if the mode parameter of the attachment menu deep link is equal to fullscreen .

    peer: EntityLike

    Dialog where the web app is being opened, and where the resulting message will be sent (see the docs for more info » ).

    platform: string

    Short name of the application; 0-64 English letters, digits, and underscores

    If set, indicates that the inline message that will be sent by the bot on behalf of the user once the web app interaction is terminated should be sent in reply to the specified message or story.

    sendAs?: EntityLike

    Open the web app as the specified peer, sending the resulting the message as the specified peer.

    silent?: boolean

    Whether the inline message that will be sent by the bot on behalf of the user once the web app interaction is terminated should be sent silently (no notifications for the receivers).

    startParam?: string

    If the web app was opened from the attachment menu using a attachment menu deep link , start_param should contain the data from the startattach parameter.

    themeParams?: DataJSONIn

    Theme parameters »

    url?: string

    Web app URL