CRMchat APIBeta
Telegram APIPhone

phone.getGroupCallStreamChannels

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

Get the available stream channels and current playback timestamp of an RTMP-mode video chat, livestream or live story, see here » for the full flow. The group call must be joined before invoking this method. Send the request to the media DC specified by RawGroupCall.stream_dc_id.

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*

Get the available stream channels and current playback timestamp of an RTMP-mode video chat, livestream or live story, see here » for the full flow. The group call must be joined before invoking this method. Send the request to the media DC specified by RawGroupCall.stream_dc_id.

Response Body

application/json

application/json

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