UpdatePhoneCall
- class pyrogram.raw.types.UpdatePhoneCall
An incoming phone call
Constructor of
Update.- Details:
Layer:
223ID:
AB0F6B1E
- Parameters:
phone_call (
PhoneCall) – Phone call
TL Schema
updatePhoneCall#ab0f6b1e
phone_call:PhoneCall
= Update
Parameter Tree
UpdatePhoneCall
└── phone_call →
PhoneCall├──
PhoneCallEmpty│ └── id →
long├──
PhoneCallWaiting│ ├── video →
true (optional)│ ├── id →
long│ ├── access_hash →
long│ ├── date →
int│ ├── admin_id →
long│ ├── participant_id →
long│ ├── protocol →
PhoneCallProtocol│ │ └──
PhoneCallProtocol│ │ ├── udp_p2p →
true (optional)│ │ ├── udp_reflector →
true (optional)│ │ ├── min_layer →
int│ │ ├── max_layer →
int│ │ └── library_versions →
Vector < string >│ └── receive_date →
int (optional)│ ├── video →
true (optional)│ ├── id →
long│ ├── access_hash →
long│ ├── date →
int│ ├── admin_id →
long│ ├── participant_id →
long│ ├── g_a_hash →
bytes│ └── protocol →
PhoneCallProtocol│ └──
PhoneCallProtocol│ ├── udp_p2p →
true (optional)│ ├── udp_reflector →
true (optional)│ ├── min_layer →
int│ ├── max_layer →
int│ └── library_versions →
Vector < string >│ ├── video →
true (optional)│ ├── id →
long│ ├── access_hash →
long│ ├── date →
int│ ├── admin_id →
long│ ├── participant_id →
long│ ├── g_b →
bytes│ └── protocol →
PhoneCallProtocol│ └──
PhoneCallProtocol│ ├── udp_p2p →
true (optional)│ ├── udp_reflector →
true (optional)│ ├── min_layer →
int│ ├── max_layer →
int│ └── library_versions →
Vector < string >├──
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 →
string├── need_rating →
true (optional)├── need_debug →
true (optional)├── video →
true (optional)├── id →
long├── reason →
PhoneCallDiscardReason (optional)│ └── slug →
string└── duration →
int (optional)Example
UpdatePhoneCall(
phone_call=PhoneCallEmpty(id=0),
)