UpdatePhoneCall

class pyrogram.raw.types.UpdatePhoneCall

An incoming phone call

Constructor of Update.

Details:
  • Layer: 223

  • ID: AB0F6B1E

Parameters:

phone_call (PhoneCall) – Phone call

TL Schema

updatePhoneCall#ab0f6b1e
phone_call:PhoneCall

= Update

Parameter Tree

UpdatePhoneCall
└── phone_callPhoneCall
├── PhoneCallEmpty
│ └── idlong
│ ├── videotrue (optional)
│ ├── idlong
│ ├── access_hashlong
│ ├── dateint
│ ├── admin_idlong
│ ├── participant_idlong
│ ├── protocolPhoneCallProtocol
│ │ └── PhoneCallProtocol
│ │ ├── udp_p2ptrue (optional)
│ │ ├── udp_reflectortrue (optional)
│ │ ├── min_layerint
│ │ ├── max_layerint
│ │ └── library_versionsVector < string >
│ └── receive_dateint (optional)
│ ├── videotrue (optional)
│ ├── idlong
│ ├── access_hashlong
│ ├── dateint
│ ├── admin_idlong
│ ├── participant_idlong
│ ├── g_a_hashbytes
│ └── protocolPhoneCallProtocol
│ └── PhoneCallProtocol
│ ├── udp_p2ptrue (optional)
│ ├── udp_reflectortrue (optional)
│ ├── min_layerint
│ ├── max_layerint
│ └── library_versionsVector < string >
│ ├── videotrue (optional)
│ ├── idlong
│ ├── access_hashlong
│ ├── dateint
│ ├── admin_idlong
│ ├── participant_idlong
│ ├── g_bbytes
│ └── protocolPhoneCallProtocol
│ └── PhoneCallProtocol
│ ├── udp_p2ptrue (optional)
│ ├── udp_reflectortrue (optional)
│ ├── min_layerint
│ ├── max_layerint
│ └── library_versionsVector < string >
├── PhoneCall
│ ├── p2p_allowedtrue (optional)
│ ├── videotrue (optional)
│ ├── conference_supportedtrue (optional)
│ ├── idlong
│ ├── access_hashlong
│ ├── dateint
│ ├── admin_idlong
│ ├── participant_idlong
│ ├── g_a_or_bbytes
│ ├── key_fingerprintlong
│ ├── protocolPhoneCallProtocol
│ │ └── PhoneCallProtocol
│ │ ├── udp_p2ptrue (optional)
│ │ ├── udp_reflectortrue (optional)
│ │ ├── min_layerint
│ │ ├── max_layerint
│ │ └── library_versionsVector < string >
│ ├── connectionsVector < PhoneConnection >
│ │ ├── PhoneConnection
│ │ │ ├── tcptrue (optional)
│ │ │ ├── idlong
│ │ │ ├── ipstring
│ │ │ ├── ipv6string
│ │ │ ├── portint
│ │ │ └── peer_tagbytes
│ │ └── PhoneConnectionWebrtc
│ │ ├── turntrue (optional)
│ │ ├── stuntrue (optional)
│ │ ├── idlong
│ │ ├── ipstring
│ │ ├── ipv6string
│ │ ├── portint
│ │ ├── usernamestring
│ │ └── passwordstring
│ ├── start_dateint
│ └── custom_parametersDataJSON (optional)
│ └── DataJSON
│ └── datastring
├── need_ratingtrue (optional)
├── need_debugtrue (optional)
├── videotrue (optional)
├── idlong
├── reasonPhoneCallDiscardReason (optional)
│ └── slugstring
└── durationint (optional)

Example

UpdatePhoneCall(
    phone_call=PhoneCallEmpty(id=0),
)