phone.ConfirmCall

class pyrogram.raw.functions.phone.ConfirmCall

Complete phone call E2E encryption key exchange »

Details:
  • Layer: 223

  • ID: 2EFE1722

Parameters:
  • peer (InputPhoneCall) – The phone call

  • g_a (bytes) – Parameter for E2E encryption key exchange »

  • key_fingerprint (int 64-bit) – Key fingerprint

  • protocol (PhoneCallProtocol) – Phone call settings

Returns:

phone.PhoneCall

TL Schema

phone.confirmCall#2efe1722
peer:InputPhoneCall
g_a:bytes
key_fingerprint:long
protocol:PhoneCallProtocol

= phone.PhoneCall

Parameter Tree

ConfirmCall
├── peerInputPhoneCall
│ └── InputPhoneCall
│ ├── idlong
│ └── access_hashlong
├── g_abytes
├── key_fingerprintlong
└── protocolPhoneCallProtocol
├── udp_p2ptrue (optional)
├── udp_reflectortrue (optional)
├── min_layerint
├── max_layerint
└── library_versionsVector < string >

Example

await app.invoke(
    ConfirmCall(
        peer=InputPhoneCall(
            id=0,
            access_hash=0
        ),
        g_a=b"data",
        key_fingerprint=0,
        protocol=PhoneCallProtocol(
            udp_p2p=None,
            udp_reflector=None,
            min_layer=0,
            max_layer=0,
            library_versions=["text"]
        ),
    )
)