getBusinessAccountStarBalance
Check the current Telegram Star balance for a managed business account, ensuring accurate tracking of Stars. Requires the business bot's can_view_gifts_and_stars right.
Instructions
Returns the current Telegram Star balance of a managed business account. Requires the can_view_gifts_and_stars business bot right. Returns a StarAmount object 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 |