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

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

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

Subclasses of TdApi.ChatAction in it.tdlight.jni
Modifier and Type | Class | Description
--- | --- | ---
`static class` | `TdApi.ChatActionCancel` | The user has canceled the previous action.
`static class` | `TdApi.ChatActionChoosingContact` | The user is picking a contact to send.
`static class` | `TdApi.ChatActionChoosingLocation` | The user is picking a location or venue to send.
`static class` | `TdApi.ChatActionChoosingSticker` | The user is picking a sticker to send.
`static class` | `TdApi.ChatActionRecordingVideo` | The user is recording a video.
`static class` | `TdApi.ChatActionRecordingVideoNote` | The user is recording a video note.
`static class` | `TdApi.ChatActionRecordingVoiceNote` | The user is recording a voice note.
`static class` | `TdApi.ChatActionStartPlayingGame` | The user has started to play a game.
`static class` | `TdApi.ChatActionTyping` | The user is typing a message.
`static class` | `TdApi.ChatActionUploadingDocument` | The user is uploading a document.
`static class` | `TdApi.ChatActionUploadingPhoto` | The user is uploading a photo.
`static class` | `TdApi.ChatActionUploadingVideo` | The user is uploading a video.
`static class` | `TdApi.ChatActionUploadingVideoNote` | The user is uploading a video note.
`static class` | `TdApi.ChatActionUploadingVoiceNote` | The user is uploading a voice note.
`static class` | `TdApi.ChatActionWatchingAnimations` | The user is watching animations sent by the other party by clicking on an animated emoji.

Fields in it.tdlight.jni declared as TdApi.ChatAction
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.ChatAction` | TdApi.SendChatAction.`action` | The action description; pass null to cancel the currently active action.
`TdApi.ChatAction` | TdApi.UpdateUserChatAction.`action` | The action description.

Constructors in it.tdlight.jni with parameters of type TdApi.ChatAction
Constructor | Description
--- | ---
`SendChatAction​(long chatId, long messageThreadId, TdApi.ChatAction action)` | Sends a notification about user activity in a chat.
`UpdateUserChatAction​(long chatId, long messageThreadId, long userId, TdApi.ChatAction action)` | User activity in the chat has changed.