Skip to main content
This section covers features introduced in recent Bot API updates tailored for Telegram Business, Gifts, and monetization via Telegram Stars.

Telegram Business

Bots can be connected to Telegram Business accounts to reply on behalf of users.

getBusinessConnection

Gets information about the connection of the bot with a business account.

setBusinessAccountBio

Changes the bio of a connected business account. (Similar methods exist for setBusinessAccountName, setBusinessAccountUsername, setBusinessAccountProfilePhoto, removeBusinessAccountProfilePhoto, etc.)

deleteBusinessMessages

Deletes messages in a connected business account.

Gifts

Bots can interact with Telegram Gifts, querying available gifts and sending them to users.

getAvailableGifts

Returns the list of gifts that can be sent by the bot to users.

getUserGifts

Returns the list of gifts that were received by a specific user.

sendGift

Sends a gift to the given user. The bot must have enough Telegram Stars to send the gift.
BLP Example

Stars and Payments

sendPaidMedia

Sends paid media to a chat. Users must pay the specified amount of Telegram Stars to view it.
BLP Example

getStarTransactions

Returns the bot’s Telegram Star transactions.

refundStarPayment

Refunds a successful payment in Telegram Stars.
BLP Example

getBusinessAccountGifts

Returns the list of gifts that were received by a business account.

getBusinessAccountStarBalance

Gets the Telegram Star balance of a connected business account.

getChatGifts

Returns the list of gifts that were received by a chat.

getMyStarBalance

Gets the bot’s own Telegram Star balance.

editUserStarSubscription

Edits a user’s star subscription (e.g. cancels it).

removeBusinessAccountProfilePhoto

Removes the profile photo of a connected business account.

setBusinessAccountGiftSettings

Changes gift settings of a connected business account.

setBusinessAccountName

Changes the name of a connected business account.

setBusinessAccountProfilePhoto

Changes the profile photo of a connected business account.

setBusinessAccountUsername

Changes the username of a connected business account.

transferBusinessAccountStars

Transfers Telegram Stars from a business account to the bot.

transferGift

Transfers a gift from the bot to another user.