method ApiMethods.getBusinessAccountStarBalance
ApiMethods.getBusinessAccountStarBalance(args: { business_connection_id: string; }): StarAmount

Returns the amount of Telegram Stars owned by a managed business account. Requires the can_view_gifts_and_stars business bot right. Returns StarAmount on success.

Parameters

args: { business_connection_id: string; }

Return Type

Usage

import { type ApiMethods } from "types";