libtd-ktx / kotlinx.telegram.coroutines / createCall
createCall
suspend fun TelegramFlow.createCall(userId: Int, protocol: CallProtocol?): CallId
Suspend function, which creates a new call.
Parameters
userId - Identifier of the user to be called.
protocol - Description of the call protocols supported by the client.
Return CallId Contains the call identifier.