Skip to content

discardCall

Function · TDLib 1.8.67 · d1085f9c

Discards a call

discardCall(
  call_id: int32,
  is_disconnected: Bool,
  invite_link: string,
  duration: int32,
  is_video: Bool,
  connection_id: int64
) → Ok

call_id

int32

Call identifier

is_disconnected

Bool

Pass true if the user was disconnected

string

If the call was upgraded to a group call, pass invite link to the group call

duration

int32

The call duration, in seconds

is_video

Bool

Pass true if the call was a video call

connection_id

int64

Identifier of the connection used during the call