PhoneCallAccepted

class pyrogram.raw.types.PhoneCallAccepted

An accepted phone call

Constructor of PhoneCall.

Details:
  • Layer: 223

  • ID: 3660C311

Parameters:
  • id (int 64-bit) – ID of accepted phone call

  • access_hash (int 64-bit) – Access hash of phone call

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

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

  • participant_id (int 64-bit) – ID of the other user in the call

  • g_b (bytes) – B parameter for secure E2E phone call key exchange

  • protocol (PhoneCallProtocol) – Protocol to use for phone call

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