Skip to content

discard call

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

libtd-ktx / kotlinx.telegram.coroutines / discardCall

discardCall

suspend fun TelegramFlow.discardCall(callId: Int, isDisconnected: Boolean, duration: Int, connectionId: Long): Unit

Suspend function, which discards a call.

Parameters

callId - Call identifier.

isDisconnected - True, if the user was disconnected.

duration - The call duration, in seconds.

connectionId - Identifier of the connection used during the call.

Clone this wiki locally