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

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

Fields in it.tdlight.jni declared as TdApi.ChatPermissions
Modifier and Type
Field
Description
`TdApi.ChatPermissions`
TdApi.ChatEventPermissionsChanged.`newPermissions`
New chat permissions.
`TdApi.ChatPermissions`
TdApi.ChatEventPermissionsChanged.`oldPermissions`
Previous chat permissions.
`TdApi.ChatPermissions`
TdApi.Chat.`permissions`
Actions that non-administrator chat members are allowed to take in the chat.
`TdApi.ChatPermissions`
TdApi.ChatMemberStatusRestricted.`permissions`
User permissions in the chat.
`TdApi.ChatPermissions`
TdApi.SetChatPermissions.`permissions`
New non-administrator members permissions in the chat.
`TdApi.ChatPermissions`
TdApi.UpdateChatPermissions.`permissions`
The new chat permissions.
Constructors in it.tdlight.jni with parameters of type TdApi.ChatPermissions
Modifier
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.VideoChat videoChat, TdApi.ChatJoinRequestsInfo pendingJoinRequests, long replyMarkupMessageId, TdApi.DraftMessage draftMessage, String clientData)`
A chat.
``
`ChatEventPermissionsChanged(TdApi.ChatPermissions oldPermissions, TdApi.ChatPermissions newPermissions)`
The chat permissions was changed.
``
`ChatMemberStatusRestricted(boolean isMember, int restrictedUntilDate, TdApi.ChatPermissions permissions)`
The user is under certain restrictions in the chat.
``
`SetChatPermissions(long chatId, TdApi.ChatPermissions permissions)`
Changes the chat members permissions.
``
`UpdateChatPermissions(long chatId, TdApi.ChatPermissions permissions)`
Chat permissions was changed.