PhoneConnection

class pyrogram.raw.types.PhoneConnection

Identifies an endpoint that can be used to connect to the other user in a phone call

Constructor of PhoneConnection.

Details:
  • Layer: 194

  • ID: 9CC123C7

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

  • ip (str) – IP address of endpoint

  • ipv6 (str) – IPv6 address of endpoint

  • port (int 32-bit) – Port ID

  • peer_tag (bytes) – Our peer tag

  • tcp (bool, optional) – Whether TCP should be used