PhoneCall
- class pyrogram.raw.base.PhoneCall
Phone call
- Constructors:
This base type has 6 constructors available.
Phone call
An accepted phone call
Indicates a discarded phone call
Empty constructor
Requested phone call
Incoming phone call
TL Schema
phoneCall#30535af5
flags:#
p2p_allowed:flags.5?true
video:flags.6?true
conference_supported:flags.8?true
id:long
access_hash:long
date:int
admin_id:long
participant_id:long
g_a_or_b:bytes
key_fingerprint:long
protocol:PhoneCallProtocol
connections:Vector<PhoneConnection>
start_date:int
custom_parameters:flags.7?DataJSON
= PhoneCall
Parameter Tree
PhoneCall
├── p2p_allowed →
true (optional)├── video →
true (optional)├── conference_supported →
true (optional)├── id →
long├── access_hash →
long├── date →
int├── admin_id →
long├── participant_id →
long├── g_a_or_b →
bytes├── key_fingerprint →
long├── protocol →
PhoneCallProtocol│ └──
PhoneCallProtocol│ ├── udp_p2p →
true (optional)│ ├── udp_reflector →
true (optional)│ ├── min_layer →
int│ ├── max_layer →
int│ └── library_versions →
Vector < string >├── connections →
Vector < PhoneConnection >│ ├──
PhoneConnection│ │ ├── tcp →
true (optional)│ │ ├── id →
long│ │ ├── ip →
string│ │ ├── ipv6 →
string│ │ ├── port →
int│ │ └── peer_tag →
bytes│ └──
PhoneConnectionWebrtc│ ├── turn →
true (optional)│ ├── stun →
true (optional)│ ├── id →
long│ ├── ip →
string│ ├── ipv6 →
string│ ├── port →
int│ ├── username →
string│ └── password →
string├── start_date →
int└── custom_parameters →
DataJSON (optional)└──
DataJSON└── data →
stringExample
PhoneCall(
p2p_allowed=None,
video=None,
conference_supported=None,
id=0,
access_hash=0,
date=0,
admin_id=0,
participant_id=0,
g_a_or_b=b"data",
key_fingerprint=0,
protocol=PhoneCallProtocol(
udp_p2p=None,
udp_reflector=None,
min_layer=0,
max_layer=0,
library_versions=["text"]
),
connections=[
PhoneConnection(
tcp=None,
id=0,
ip="text",
ipv6="text",
port=0,
peer_tag=b"data"
)
],
start_date=0,
custom_parameters=DataJSON(data="text"),
)