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

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

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

Subclasses of TdApi.SecretChatState in it.tdlight.jni
Modifier and Type | Class | Description
--- | --- | ---
`static class` | `TdApi.SecretChatStateClosed` | The secret chat is closed.
`static class` | `TdApi.SecretChatStatePending` | The secret chat is not yet created; waiting for the other user to get online.
`static class` | `TdApi.SecretChatStateReady` | The secret chat is ready to use.

Fields in it.tdlight.jni declared as TdApi.SecretChatState
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.SecretChatState` | TdApi.SecretChat.`state` | State of the secret chat.

Constructors in it.tdlight.jni with parameters of type TdApi.SecretChatState
Constructor | Description
--- | ---
`SecretChat​(int id, long userId, TdApi.SecretChatState state, boolean isOutbound, byte[] keyHash, int layer)` | Represents a secret chat.