libtd-ktx / kotlinx.telegram.extensions / CallKtx / discard
discard
open suspend fun
Call
.discard(isDisconnected:
Boolean
, duration:
Int
, connectionId:
Long
):
Unit
Suspend function, which discards a call.
Parameters
isDisconnected
- True, if the user was disconnected.
duration
- The call duration, in seconds.
connectionId
- Identifier of the connection used during the call.