CRMchat APIBeta
Telegram APIPhone

phone.getGroupCallStreamRtmpUrl

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

Get the RTMP URL and stream key used by the single external streamer that publishes all audio and video for an RTMP-mode video chat, livestream or live story. See here » for the full flow.

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 RTMP URL and stream key used by the single external streamer that publishes all audio and video for an RTMP-mode video chat, livestream or live story. See here » for the full flow.

Response Body

application/json

application/json

curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/phone.getGroupCallStreamRtmpUrl" \  -H "Content-Type: application/json" \  -d '{    "params": {      "peer": {        "_": "inputPeerEmpty"      },      "revoke": true    }  }'
{  "result": {    "_": "phone.groupCallStreamRtmpUrl",    "url": "string",    "key": "string"  }}