messages.ProlongWebView

class pyrogram.raw.functions.messages.ProlongWebView

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

Details:
  • Layer: 187

  • ID: B0D81A83

Parameters:
  • peer (InputPeer) – Dialog where the web app was opened.

  • bot (InputUser) – Bot that owns the web app

  • query_id (int 64-bit) – Web app interaction ID obtained from messages.requestWebView

  • silent (bool, optional) – 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).

  • reply_to (InputReplyTo, optional) – 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.

  • send_as (InputPeer, optional) – Open the web app as the specified peer

Returns:

bool