PhoneCallDiscarded

class pyrogram.raw.types.PhoneCallDiscarded

Indicates a discarded phone call.

Constructor type of PhoneCall.

Details
  • Layer: 126

  • ID: 0x50ca4de1

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.