CRMchat APIBeta
Telegram APIPhone

phone.getGroupCallStars

POST
/workspaces/{workspaceId}/telegram-accounts/{accountId}/call/phone.getGroupCallStars

Fetch a live story's total donations and top donors, see paid live story donations ».

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

workspaceId*string

Workspace ID

accountId*string

Telegram account ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

params*

Fetch a live story's total donations and top donors, see paid live story donations ».

Response Body

application/json

application/json

curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/phone.getGroupCallStars" \  -H "Content-Type: application/json" \  -d '{    "params": {      "call": {        "_": "inputGroupCall",        "id": "string",        "accessHash": "string"      }    }  }'
{  "result": {    "_": "phone.groupCallStars",    "totalStars": "string",    "topDonors": [      {        "_": "groupCallDonor",        "top": true,        "my": true,        "peerId": {          "_": "peerUser",          "userId": 0        },        "stars": "string"      }    ],    "chats": [      {        "_": "chatEmpty",        "id": 0      }    ],    "users": [      {        "_": "userEmpty",        "id": 0      }    ]  }}