CRMchat APIBeta
Telegram APIPhone

phone.checkGroupCall

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

Check which of the specified source IDs the server still recognizes as joined to a group call. This method can be used with all group call types, see here » for more info. After joining the main connection with phone.RawJoinGroupCallRequest, pass its non-zero SSRC/source ID to this method periodically. If a presentation connection is also active, include the separate source registered using phone.RawJoinGroupCallPresentationRequest. The method returns the subset of the supplied sources that are still joined. A missing source means that the corresponding connection must be recreated and joined again; it does not indicate whether media packets are currently flowing. If the method returns GROUPCALL_JOIN_MISSING, the main connection must be rejoined.

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*

Check which of the specified source IDs the server still recognizes as joined to a group call. This method can be used with all group call types, see here » for more info. After joining the main connection with phone.RawJoinGroupCallRequest, pass its non-zero SSRC/source ID to this method periodically. If a presentation connection is also active, include the separate source registered using phone.RawJoinGroupCallPresentationRequest. The method returns the subset of the supplied sources that are still joined. A missing source means that the corresponding connection must be recreated and joined again; it does not indicate whether media packets are currently flowing. If the method returns GROUPCALL_JOIN_MISSING, the main connection must be rejoined.

Response Body

application/json

application/json

curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/phone.checkGroupCall" \  -H "Content-Type: application/json" \  -d '{    "params": {      "call": {        "_": "inputGroupCall",        "id": "string",        "accessHash": "string"      },      "sources": [        0      ]    }  }'
{  "result": 0}