PhoneCallAccepted

class pyrogram.raw.types.PhoneCallAccepted

An accepted phone call

Constructor of PhoneCall.

Details:
  • Layer: 227

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