DiscardCall

class pyrogram.raw.functions.phone.DiscardCall

Refuse or end running call.

Details
  • Layer: 126

  • ID: 0xb2cbc1c0

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 – Object which is perceived by the client without a call on its part when an event occurs.