public static enum ChatMember.Status extends java.lang.Enum<ChatMember.Status>
| Enum Constant and Description |
|---|
ADMINISTRATOR |
CREATOR |
KICKED |
LEFT |
MEMBER |
RESTRICTED |
| Modifier and Type | Method and Description |
|---|---|
static ChatMember.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChatMember.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="creator") public static final ChatMember.Status CREATOR
@SerializedName(value="administrator") public static final ChatMember.Status ADMINISTRATOR
@SerializedName(value="member") public static final ChatMember.Status MEMBER
@SerializedName(value="restricted") public static final ChatMember.Status RESTRICTED
@SerializedName(value="left") public static final ChatMember.Status LEFT
@SerializedName(value="kicked") public static final ChatMember.Status KICKED
public static ChatMember.Status[] values()
for (ChatMember.Status c : ChatMember.Status.values()) System.out.println(c);
public static ChatMember.Status valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null