# 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 final class`
`TdApi.ChatMemberStatusAdministrator`
The user is a member of the chat and has some additional privileges.
`static final class`
`TdApi.ChatMemberStatusBanned`
The user or the chat was banned (and hence is not a member of the chat).
`static final class`
`TdApi.ChatMemberStatusCreator`
The user is the owner of the chat and has all the administrator privileges.
`static final class`
`TdApi.ChatMemberStatusLeft`
The user or the chat is not a chat member.
`static final class`
`TdApi.ChatMemberStatusMember`
The user is a member of the chat, without any additional privileges or restrictions.
`static final 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 always be empty.
Constructors in it.tdlight.jni with parameters of type TdApi.ChatMemberStatus
Modifier
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)`
Describes 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; requires canInviteUsers member right to add a chat member, canPromoteMembers administrator right to change administrator rights of the member, and canRestrictMembers administrator right to change restrictions of a user.
``
`Supergroup(long id, TdApi.Usernames usernames, int date, TdApi.ChatMemberStatus status, int memberCount, int boostLevel, boolean hasLinkedChat, boolean hasLocation, boolean signMessages, boolean joinToSendMessages, boolean joinByRequest, boolean isSlowModeEnabled, boolean isChannel, boolean isBroadcastGroup, boolean isForum, boolean isVerified, String restrictionReason, boolean isScam, boolean isFake, boolean hasActiveStories, boolean hasUnreadActiveStories)`
Represents a supergroup or channel with zero or more members (subscribers in the case of channels).