bots.requestWebViewButton
Bots may use this method to prepare a peer request button for a Mini App, see here » for more info.
Bots may use this method to prepare a peer request button for a [Mini App](https://core.telegram.org/api/bots/webapps.md), see [here »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps) for more info.
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
user_id | InputUser | はい | The user that will use the prepared button in the Mini App |
button | KeyboardButton | はい | The button to prepare, an [inputKeyboardButtonRequestPeer](https://core.telegram.org/constructor/inputKeyboardButtonRequestPeer.md) of any [RequestPeerType](https://core.telegram.org/type/RequestPeerType.md) |
レスポンス
bots.RequestedButton
MTProto RPC
- 400 · BUTTON_INVALID — The specified button is invalid.
- 400 · USER_BOT_REQUIRED — This method can only be called by a bot.
- 400 · USER_ID_INVALID — The provided user ID is invalid.