send_signaling_data()

async Client.send_signaling_data()

Send VoIP signaling data (e.g. ICE candidates) for an ongoing phone call.

Usable by Users Bots
Parameters:
  • call_id (int) – The unique phone call ID.

  • access_hash (int) – The access hash of the phone call.

  • data (bytes) – WebRTC signaling payload.

Returns:

bool – On success, True is returned.

Example

await app.send_signaling_data(call_id=123, access_hash=456, data=b"...")