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