PhoneCallRequested
- class pyrogram.raw.types.PhoneCallRequested
Requested phone call
Constructor of
PhoneCall.- Details:
Layer:
223ID:
14B0ED0C
- Parameters:
id (
int64-bit) – Phone call IDaccess_hash (
int64-bit) – Access hashdate (
int32-bit) – When was the phone call createdadmin_id (
int64-bit) – ID of the creator of the phone callparticipant_id (
int64-bit) – ID of the other participant of the phone callg_a_hash (
bytes) – Parameter for key exchangeprotocol (
PhoneCallProtocol) – Call protocol info to be passed to libtgvoipvideo (
bool, optional) – Whether this is a video call
TL Schema
phoneCallRequested#14b0ed0c
flags:#
video:flags.6?true
id:long
access_hash:long
date:int
admin_id:long
participant_id:long
g_a_hash:bytes
protocol:PhoneCallProtocol
= PhoneCall
Parameter Tree
PhoneCallRequested
├── video →
true (optional)├── id →
long├── access_hash →
long├── date →
int├── admin_id →
long├── participant_id →
long├── g_a_hash →
bytes└── protocol →
PhoneCallProtocol├── udp_p2p →
true (optional)├── udp_reflector →
true (optional)├── min_layer →
int├── max_layer →
int└── library_versions →
Vector < string >Example
PhoneCallRequested(
id=0,
access_hash=0,
date=0,
admin_id=0,
participant_id=0,
g_a_hash=b"data",
protocol=PhoneCallProtocol(
min_layer=0,
max_layer=0,
library_versions=["text"]
),
)