Skip to content

transferBusinessAccountStars

Returns boolean

Transfers Telegram Stars from the business account balance to the bot’s balance. Requires the can_transfer_stars business bot right.

Required: business_connection_id, star_count

Try it
Token saved
Response

TypeScript example · @effect-ak/tg-bot-client
import { makeTgBotClient } from "@effect-ak/tg-bot-client"
const client = makeTgBotClient({ bot_token: "YOUR_BOT_TOKEN" })
const result = await client.execute("transfer_business_account_stars", {
business_connection_id: "...",
star_count: 0
})

Parameters

business_connection_id string Required
Unique identifier of the business connection.

star_count number Required
Number of Telegram Stars to transfer; 1-10000.

transferGift