bots.requestedButton #

Contains the request ID a bot should pass to a Mini App after preparing a peer request button with bots.requestWebViewButton, see here » for more info.

Layer 223

Constructor schema is available as of layer 224. Switch »

Parameters #

NameTypeDescription
webapp_req_idstringMini App request ID, to be passed by the bot to the Mini App and then back to bots.getRequestedWebViewButton and messages.sendBotRequestedPeer

Type #

bots.RequestedButton

bots.getRequestedWebViewButton #

Fetch the peer request button a bot prepared for a Mini App with bots.requestWebViewButton, invoked when the Mini App emits a web_app_request_chat event, see here » for more info.

messages.sendBotRequestedPeer #

Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.

Mini Apps on Telegram #

Bots can offer users interactive HTML5 web apps to completely replace any website.

bots.requestWebViewButton #

Bots may use this method to prepare a peer request button for a Mini App, see here » for more info.

Bot buttons #

Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.