PhoneCallWaiting

class pyrogram.raw.types.PhoneCallWaiting

Incoming phone call

Constructor of PhoneCall.

Details:
  • Layer: 227

  • 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
├── 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)

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"]
    ),
)