PhoneConnectionWebrtc

class pyrogram.raw.types.PhoneConnectionWebrtc

WebRTC connection parameters

Constructor of PhoneConnection.

Details:
  • Layer: 194

  • ID: 635FE375

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