CRMchat APIBeta

updateGroupCallConnection

Connection parameters returned after joining a group call, see presentations and stream mode. If presentation is set, the parameters belong to the separate presentation connection; otherwise they belong to the main connection. For a normal WebRTC connection, pass params to the local tgcalls group-call engine as its join response payload. For stream-mode calls, where the client plays the call by downloading media chunks instead of using WebRTC, params instead has one of the following shapes: for a call that entered stream mode, or for an RTMP-mode call.

Header Parameters

X-Webhook-Signature*string

HMAC-SHA256 hex digest of the raw request body

X-Webhook-Event*string

The delivered Telegram event type

X-Webhook-Id*string

Unique event ID for idempotency

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

eventId*string

Unique event identifier

eventType*"telegram.updateGroupCallConnection"

Value in

  • "telegram.updateGroupCallConnection"
eventDate*string
Formatdate-time
workspaceId*string
data*

Response Body

Example Requests

POST/telegram.updateGroupCallConnection