Telegram Bot API

Stores a keyboard button that can be used by a user within a Mini App. Returns a PreparedKeyboardButton object.

post/savePreparedKeyboardButton

Request

  • Base URL: https://api.telegram.org/bot<bot_token>
  • URL: https://api.telegram.org/bot<bot_token>/savePreparedKeyboardButton
  • Auth: none declared

Request body

user_idinteger required

Unique identifier of the target user that can use the button

Response

Telegram API response

oktrue required

Changes

No recorded changes to this operation across all 3 revisions of this API.