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

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

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

Subclasses of TdApi.ChatMemberStatus in it.tdlight.jni
Modifier and Type | Class | Description
--- | --- | ---
`static class` | `TdApi.ChatMemberStatusAdministrator` | The user is a member of the chat and has some additional privileges.
`static class` | `TdApi.ChatMemberStatusBanned` | The user or the chat was banned (and hence is not a member of the chat).
`static class` | `TdApi.ChatMemberStatusCreator` | The user is the owner of the chat and has all the administrator privileges.
`static class` | `TdApi.ChatMemberStatusLeft` | The user or the chat is not a chat member.
`static class` | `TdApi.ChatMemberStatusMember` | The user is a member of the chat, without any additional privileges or restrictions.
`static class` | `TdApi.ChatMemberStatusRestricted` | The user is under certain restrictions in the chat.

Fields in it.tdlight.jni declared as TdApi.ChatMemberStatus
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.ChatMemberStatus` | TdApi.ChatEventMemberPromoted.`newStatus` | New status of the chat member.
`TdApi.ChatMemberStatus` | TdApi.ChatEventMemberRestricted.`newStatus` | New status of the chat member.
`TdApi.ChatMemberStatus` | TdApi.ChatEventMemberPromoted.`oldStatus` | Previous status of the chat member.
`TdApi.ChatMemberStatus` | TdApi.ChatEventMemberRestricted.`oldStatus` | Previous status of the chat member.
`TdApi.ChatMemberStatus` | TdApi.BasicGroup.`status` | Status of the current user in the group.
`TdApi.ChatMemberStatus` | TdApi.ChatEventMemberInvited.`status` | New member status.
`TdApi.ChatMemberStatus` | TdApi.ChatMember.`status` | Status of the member in the chat.
`TdApi.ChatMemberStatus` | TdApi.SetChatMemberStatus.`status` | The new status of the member in the chat.
`TdApi.ChatMemberStatus` | TdApi.Supergroup.`status` | Status of the current user in the supergroup or channel; custom title will be always empty.

Constructors in it.tdlight.jni with parameters of type TdApi.ChatMemberStatus
Constructor | Description
--- | ---
`BasicGroup​(long id, int memberCount, TdApi.ChatMemberStatus status, boolean isActive, long upgradedToSupergroupId)` | Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).
`ChatEventMemberInvited​(long userId, TdApi.ChatMemberStatus status)` | A new chat member was invited.
`ChatEventMemberPromoted​(long userId, TdApi.ChatMemberStatus oldStatus, TdApi.ChatMemberStatus newStatus)` | A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
`ChatEventMemberRestricted​(TdApi.MessageSender memberId, TdApi.ChatMemberStatus oldStatus, TdApi.ChatMemberStatus newStatus)` | A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.
`ChatMember​(TdApi.MessageSender memberId, long inviterUserId, int joinedChatDate, TdApi.ChatMemberStatus status)` | Information about a user or a chat as a member of another chat.
`SetChatMemberStatus​(long chatId, TdApi.MessageSender memberId, TdApi.ChatMemberStatus status)` | Changes the status of a chat member, needs appropriate privileges.

`Supergroup​(long id, String username, int date, TdApi.ChatMemberStatus status, int memberCount, boolean hasLinkedChat, boolean hasLocation, boolean signMessages, boolean isSlowModeEnabled, boolean isChannel, boolean isBroadcastGroup, boolean isVerified, String restrictionReason, boolean isScam, boolean isFake)`

Represents a supergroup or channel with zero or more members (subscribers in the case of channels).