bots.GetRequestedWebViewButton

class pyrogram.raw.functions.bots.GetRequestedWebViewButton

Telegram API function.

Details:
  • Layer: 224

  • ID: BF25B7F3

Parameters:
  • bot (InputUser) – N/A

  • webapp_req_id (str) – N/A

Returns:

KeyboardButton

TL Schema

bots.getRequestedWebViewButton#bf25b7f3
bot:InputUser
webapp_req_id:string

= KeyboardButton

Parameter Tree

GetRequestedWebViewButton
├── botInputUser
│ ├── InputUserEmpty
│ ├── InputUserSelf
│ ├── InputUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ └── InputUserFromMessage
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
└── webapp_req_idstring

Example

await app.invoke(
    GetRequestedWebViewButton(
        bot=await app.resolve_user(chat_id),
        webapp_req_id="text",
    )
)