Raw.messages.ProlongWebView

Raw.messages.ProlongWebView

Indicate to the server (from the user side) that the user is still using a web app.

messages.prolongWebView#b0d81a83 flags:# silent:flags.5?true peer:InputPeer bot:InputUser query_id:long reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = Bool;
export namespace Raw {
  export namespace messages {
    export class ProlongWebView {
      constructor(params: {
        silent?: boolean;
        peer: Raw.TypeInputPeer;
        bot: Raw.TypeInputUser;
        queryId: bigint;
        replyTo?: Raw.TypeInputReplyTo;
        sendAs?: Raw.TypeInputPeer;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xb0d81a83

Property

  • silent : boolean or undefined

    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).

  • peer : Raw.TypeInputPeer

    Dialog where the web app was opened.

  • bot : Raw.TypeInputUser

    Bot that owns the web app

  • queryId : bigint

    Web app interaction id obtained from messages.requestwebview

  • replyTo : Raw.TypeInputReplyTo or undefined

    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 : Raw.TypeInputPeer or undefined

    Open the web app as the specified peer

Results

boolean