MessageActionPhoneCall#

class pyrogram.raw.types.MessageActionPhoneCall#

A phone call.

Constructor of MessageAction.

Details:
  • Layer: 158

  • ID: 80E11A7F

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

  • video (bool, optional) – Is this a video call?.

  • reason (PhoneCallDiscardReason, optional) – If the call has ended, the reason why it ended.

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