PhoneCallDiscarded#

class pyrogram.raw.types.PhoneCallDiscarded#

Indicates a discarded phone call.

Constructor of PhoneCall.

Details:
  • Layer: 158

  • 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.