PhoneConnectionWebrtc

class pyrogram.raw.types.PhoneConnectionWebrtc

WebRTC connection parameters.

Constructor type of PhoneConnection.

Details
  • Layer: 126

  • ID: 0x635fe375

Parameters
  • id (int 64-bit) – Endpoint ID.

  • ip (str) – IP address.

  • ipv6 (str) – IPv6 address.

  • port (int 32-bit) – Port.

  • username (str) – Username.

  • password (str) – Password.

  • turn (bool, optional) – Whether this is a TURN endpoint.

  • stun (bool, optional) – Whether this is a STUN endpoint.