acceptCall - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / acceptCall

acceptCall

suspend fun TelegramFlow.acceptCall(callId: Int, protocol: CallProtocol?): Unit

Suspend function, which accepts an incoming call.

Parameters

callId - Call identifier.

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