PhoneCallAccepted
- class pyrogram.raw.types.PhoneCallAccepted
An accepted phone call
Constructor of
PhoneCall.- Details:
Layer:
223ID:
3660C311
- Parameters:
id (
int64-bit) – ID of accepted phone callaccess_hash (
int64-bit) – Access hash of phone calldate (
int32-bit) – When was the call acceptedadmin_id (
int64-bit) – ID of the call creatorparticipant_id (
int64-bit) – ID of the other user in the callg_b (
bytes) – B parameter for secure E2E phone call key exchangeprotocol (
PhoneCallProtocol) – Protocol to use for phone callvideo (
bool, optional) – Whether this is a video call
TL Schema
phoneCallAccepted#3660c311
flags:#
video:flags.6?true
id:long
access_hash:long
date:int
admin_id:long
participant_id:long
g_b:bytes
protocol:PhoneCallProtocol
= PhoneCall
Parameter Tree
PhoneCallAccepted
├── video →
true (optional)├── id →
long├── access_hash →
long├── date →
int├── admin_id →
long├── participant_id →
long├── g_b →
bytes└── protocol →
PhoneCallProtocol├── udp_p2p →
true (optional)├── udp_reflector →
true (optional)├── min_layer →
int├── max_layer →
int└── library_versions →
Vector < string >Example
PhoneCallAccepted(
id=0,
access_hash=0,
date=0,
admin_id=0,
participant_id=0,
g_b=b"data",
protocol=PhoneCallProtocol(
min_layer=0,
max_layer=0,
library_versions=["text"]
),
)