PhoneCallDiscarded

class pyrogram.raw.types.PhoneCallDiscarded

Indicates a discarded phone call

Constructor of PhoneCall.

Details:
  • Layer: 223

  • ID: 50CA4DE1

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

  • need_rating (bool, optional) – Whether the server required the user to rate the call

  • need_debug (bool, optional) – Whether the server required the client to send the libtgvoip call debug data

  • video (bool, optional) – Whether the call was a video call

  • reason (PhoneCallDiscardReason, optional) – Why was the phone call discarded

  • duration (int 32-bit, optional) – Duration of the phone call in seconds

TL Schema

phoneCallDiscarded#50ca4de1
flags:#
need_rating:flags.2?true
need_debug:flags.3?true
video:flags.6?true
id:long
reason:flags.0?PhoneCallDiscardReason
duration:flags.1?int

= PhoneCall

Parameter Tree

PhoneCallDiscarded
├── need_ratingtrue (optional)
├── need_debugtrue (optional)
├── videotrue (optional)
├── idlong
├── reasonPhoneCallDiscardReason (optional)
│ └── slugstring
└── durationint (optional)

Example

PhoneCallDiscarded(
    id=0,
)