PhoneCallRequested

class pyrogram.raw.types.PhoneCallRequested

Requested phone call

Constructor of PhoneCall.

Details:
  • Layer: 223

  • ID: 14B0ED0C

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

  • access_hash (int 64-bit) – Access hash

  • date (int 32-bit) – When was the phone call created

  • admin_id (int 64-bit) – ID of the creator of the phone call

  • participant_id (int 64-bit) – ID of the other participant of the phone call

  • g_a_hash (bytes) – Parameter for key exchange

  • protocol (PhoneCallProtocol) – Call protocol info to be passed to libtgvoip

  • video (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
├── videotrue (optional)
├── idlong
├── access_hashlong
├── dateint
├── admin_idlong
├── participant_idlong
├── g_a_hashbytes
└── protocolPhoneCallProtocol
├── udp_p2ptrue (optional)
├── udp_reflectortrue (optional)
├── min_layerint
├── max_layerint
└── library_versionsVector < 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"]
    ),
)