PhoneCallEnded

class pyrogram.types.PhoneCallEnded

A service message about a phone_call ended in the chat.

Parameters:
  • id (int) – Unique call identifier.

  • is_video (bool) – True, if call was a video call.

  • reason (PhoneCallDiscardReason) – The reason enumeration why the call was discarded.

  • duration (int, optional) – Voice chat duration; in seconds.