UserKtx.createCall - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.extensions / UserKtx / createCall

createCall

open suspend fun User.createCall(protocol: CallProtocol?): CallId

Suspend function, which creates a new call.

Parameters

protocol - Description of the call protocols supported by the client.

Return TdApi.CallId Contains the call identifier.