Telegram Bot API

Transfers Telegram Stars from the business account balance to the bot's balance. Requires the can_transfer_stars business bot right. Returns True on success.

post/transferBusinessAccountStars

Request

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

Request body

business_connection_idstring required

Unique identifier of the business connection

star_countinteger required

Number of Telegram Stars to transfer; 1-10000

Response

Telegram API response

oktrue required
resulttrue required

Changes

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