getBusinessAccountStarBalance
Returns the Telegram Stars balance for a managed business account; requires can_view_gifts_and_stars business bot right. Use it to check available Stars before gift-related actions.
Instructions
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"business_connection_id": "<business_connection_id>"
},
"name": "getBusinessAccountStarBalance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| business_connection_id | Yes | Unique identifier of the business connection |