Telegram Bot API

Changes the privacy settings pertaining to incoming gifts in a managed business account. Requires the can_change_gift_settings business bot right. Returns True on success.

post/setBusinessAccountGiftSettings

Request

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

Request body

business_connection_idstring required

Unique identifier of the business connection

show_gift_buttonboolean required

Pass True, if a button for sending a gift to the user or by the business account must always be shown in the input field

Response

Telegram API response

oktrue required
resulttrue required

Changes

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