Skip to content

discardCall

Sahri Riza Umami edited this page Jul 1, 2018 · 3 revisions

Discards a call.

discardCall(call_id, is_disconnected, duration, connection_id, callback, data)
Field Type Description
call_id int32 Call identifier.
is_disconnected Bool True, if users was disconnected.
duration int32 The call duration, in seconds.
connection_id int64 Identifier of the connection used during the call.

Example

  • Discards a call id 3.

    discardCall(3)

    Response:

    {
      ["@type"] = "ok"
    }
    ``

Frequently Asked Questions
The Functions

Clone this wiki locally