method ApiMethods.transferBusinessAccountStars
ApiMethods.transferBusinessAccountStars(args: { business_connection_id: string; star_count: number; }): true

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.

Parameters

args: { business_connection_id: string; star_count: number; }

Return Type

true

Usage

import { type ApiMethods } from "types";