phone.DiscardCall#

class pyrogram.raw.functions.phone.DiscardCall#

Refuse or end running call.

Details:
  • Layer: 158

  • ID: B2CBC1C0

Parameters:
  • peer (InputPhoneCall) – The phone call.

  • duration (int 32-bit) – Call duration.

  • reason (PhoneCallDiscardReason) – Why was the call discarded.

  • connection_id (int 64-bit) – Preferred libtgvoip relay ID.

  • video (bool, optional) – Whether this is a video call.

Returns:

Updates