Skip to content

createCall

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

Creates a new call.

createCall(user_id, udp_p2p, udp_reflector, min_layer, max_layer, callback, data)
Field Type Description
user_id int32 Identifier of the user to be called.
udp_p2p Bool True, if UDP peer-to-peer connections are supported.
udp_reflector Bool True, if connection through UDP reflectors is supported.
min_layer int32 Minimum supported API layer; use 65.
max_layer int32 Maximum supported API layer; use 65.

Example

  • Call user 133780085.

    createCall(133780085, 1, 1)

    Response:

    {
      ["@type"] = "callId",
      id = 1
    }

Frequently Asked Questions
The Functions

Clone this wiki locally