PhoneConnection
- class pyrogram.raw.base.PhoneConnection
Phone call connection
- Constructors:
This base type has 2 constructors available.
Identifies an endpoint that can be used to connect to the other user in a phone call
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
├── tcp →
true (optional)├── id →
long├── ip →
string├── ipv6 →
string├── port →
int└── peer_tag →
bytesExample
PhoneConnection(
tcp=None,
id=0,
ip="text",
ipv6="text",
port=0,
peer_tag=b"data",
)