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.