# Uses of Class it.tdlight.jni.TdApi.CallDiscardReason (tdlight API 3.3.160 API)
use: package: it.tdlight.jni, class: TdApi, class: CallDiscardReason

# Uses of Class
it.tdlight.jni.TdApi.CallDiscardReason

## Uses of TdApi.CallDiscardReason in it.tdlight.jni

Subclasses of TdApi.CallDiscardReason in it.tdlight.jni
Modifier and Type | Class | Description
--- | --- | ---
`static class` | `TdApi.CallDiscardReasonDeclined` | The call was ended before the conversation started.
`static class` | `TdApi.CallDiscardReasonDisconnected` | The call was ended during the conversation because the users were disconnected.
`static class` | `TdApi.CallDiscardReasonEmpty` | The call wasn't discarded, or the reason is unknown.
`static class` | `TdApi.CallDiscardReasonHungUp` | The call was ended because one of the parties hung up.
`static class` | `TdApi.CallDiscardReasonMissed` | The call was ended before the conversation started.

Fields in it.tdlight.jni declared as TdApi.CallDiscardReason
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.CallDiscardReason` | TdApi.MessageCall.`discardReason` | Reason why the call was discarded.
`TdApi.CallDiscardReason` | TdApi.CallStateDiscarded.`reason` | The reason, why the call has ended.

Constructors in it.tdlight.jni with parameters of type TdApi.CallDiscardReason
Constructor | Description
--- | ---
`CallStateDiscarded​(TdApi.CallDiscardReason reason, boolean needRating, boolean needDebugInformation)` | The call has ended successfully.
`MessageCall​(boolean isVideo, TdApi.CallDiscardReason discardReason, int duration)` | A message with information about an ended call.