Layer 227
method Users
bots.getRequestedWebViewButton#bf25b7f3 bot:InputUser webapp_req_id:string = KeyboardButton;

Parameters

Name Type Description
Bot InputUser The bot that owns the Mini App
WebappReqId string The Mini App request ID, taken from the web_app_request_chat event's req_id

Returns

KeyboardButton

Gogram Example

// BotsGetRequestedWebViewButton - positional arguments
result, err := client.BotsGetRequestedWebViewButton(&tg.InputUserSelf{}, "Hello, World!")
if err != nil {
    // handle error
}
// result is *tg.KeyboardButton

Possible Errors

Code Type Description
400 BOT_ID_INVALID The specified bot ID is invalid.
400 WEBAPP_REQ_ID_INVALID The specified webapp_req_id is invalid.