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

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

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

Subclasses of TdApi.ChatActionBar in it.tdlight.jni
Modifier and Type | Class | Description
--- | --- | ---
`static class` | `TdApi.ChatActionBarAddContact` | The chat is a private or secret chat and the other user can be added to the contact list using the method addContact.
`static class` | `TdApi.ChatActionBarInviteMembers` | The chat is a recently created group chat, to which new members can be invited.
`static class` | `TdApi.ChatActionBarReportAddBlock` | The chat is a private or secret chat, which can be reported using the method reportChat, or the other user can be blocked using the method toggleMessageSenderIsBlocked, or the other user can be added to the contact list using the method addContact.
`static class` | `TdApi.ChatActionBarReportSpam` | The chat can be reported as spam using the method reportChat with the reason chatReportReasonSpam.
`static class` | `TdApi.ChatActionBarReportUnrelatedLocation` | The chat is a location-based supergroup, which can be reported as having unrelated location using the method reportChat with the reason chatReportReasonUnrelatedLocation.
`static class` | `TdApi.ChatActionBarSharePhoneNumber` | The chat is a private or secret chat with a mutual contact and the user's phone number can be shared with the other user using the method sharePhoneNumber.

Fields in it.tdlight.jni declared as TdApi.ChatActionBar
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.ChatActionBar` | TdApi.Chat.`actionBar` | Describes actions which must be possible to do through a chat action bar; may be null.
`TdApi.ChatActionBar` | TdApi.UpdateChatActionBar.`actionBar` | The new value of the action bar; may be null.

Constructors in it.tdlight.jni with parameters of type TdApi.ChatActionBar
Constructor | Description
--- | ---

`Chat​(long id, TdApi.ChatType type, String title, TdApi.ChatPhotoInfo photo, TdApi.ChatPermissions permissions, TdApi.Message lastMessage, TdApi.ChatPosition[] positions, boolean isMarkedAsUnread, boolean isBlocked, boolean hasScheduledMessages, boolean canBeDeletedOnlyForSelf, boolean canBeDeletedForAllUsers, boolean canBeReported, boolean defaultDisableNotification, int unreadCount, long lastReadInboxMessageId, long lastReadOutboxMessageId, int unreadMentionCount, TdApi.ChatNotificationSettings notificationSettings, int messageTtlSetting, String themeName, TdApi.ChatActionBar actionBar, TdApi.VoiceChat voiceChat, long replyMarkupMessageId, TdApi.DraftMessage draftMessage, String clientData)`

A chat.

`UpdateChatActionBar​(long chatId, TdApi.ChatActionBar actionBar)` | The chat action bar was changed.