get_business_account_star_balance()

Client.get_business_account_star_balance()

Return the amount of Telegram Stars owned by a managed business account.

Note

Requires the can_view_gifts_and_stars business bot right.

Usable by Users Bots
Parameters:

business_connection_id (str) – Unique identifier of business connection on behalf of which to send the request.

Returns:

int – On success, the current stars balance is returned.

Example

# Get stars balance
await app.get_business_account_star_balance("connection_id")