PhoneCallWaiting

class pyrogram.raw.types.PhoneCallWaiting

Incoming phone call

Constructor of PhoneCall.

Details:
  • Layer: 223

  • ID: C5226F17

Parameters:
  • id (int 64-bit) – Call ID

  • access_hash (int 64-bit) – Access hash

  • date (int 32-bit) – Date

  • admin_id (int 64-bit) – Admin ID

  • participant_id (int 64-bit) – Participant ID

  • protocol (PhoneCallProtocol) – Phone call protocol info

  • video (bool, optional) – Is this a video call

  • receive_date (int 32-bit, optional) – When was the phone call received

TL Schema

phoneCallWaiting#c5226f17
flags:#
video:flags.6?true
id:long
access_hash:long
date:int
admin_id:long
participant_id:long
protocol:PhoneCallProtocol
receive_date:flags.0?int

= PhoneCall

Parameter Tree

PhoneCallWaiting
├── videotrue (optional)
├── idlong
├── access_hashlong
├── dateint
├── admin_idlong
├── participant_idlong
├── protocolPhoneCallProtocol
│ └── PhoneCallProtocol
│ ├── udp_p2ptrue (optional)
│ ├── udp_reflectortrue (optional)
│ ├── min_layerint
│ ├── max_layerint
│ └── library_versionsVector < string >
└── receive_dateint (optional)

Example

PhoneCallWaiting(
    id=0,
    access_hash=0,
    date=0,
    admin_id=0,
    participant_id=0,
    protocol=PhoneCallProtocol(
        min_layer=0,
        max_layer=0,
        library_versions=["text"]
    ),
)