PhoneConnection

class pyrogram.raw.base.PhoneConnection

Phone call connection

Constructors:

This base type has 2 constructors available.

PhoneConnection

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

PhoneConnectionWebrtc

WebRTC connection parameters

TL Schema

phoneConnection#9cc123c7
flags:#
tcp:flags.0?true
id:long
ip:string
ipv6:string
port:int
peer_tag:bytes

= PhoneConnection

Parameter Tree

PhoneConnection
├── tcptrue (optional)
├── idlong
├── ipstring
├── ipv6string
├── portint
└── peer_tagbytes

Example

PhoneConnection(
    tcp=None,
    id=0,
    ip="text",
    ipv6="text",
    port=0,
    peer_tag=b"data",
)