public static enum AllowedMentions.Type extends Enum<AllowedMentions.Type>
Enum Constant and Description |
---|
EVERYONE_AND_HERE |
ROLE |
USER |
Modifier and Type | Method and Description |
---|---|
String |
getRaw() |
static AllowedMentions.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllowedMentions.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllowedMentions.Type ROLE
public static final AllowedMentions.Type USER
public static final AllowedMentions.Type EVERYONE_AND_HERE
public static AllowedMentions.Type[] values()
for (AllowedMentions.Type c : AllowedMentions.Type.values()) System.out.println(c);
public static AllowedMentions.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getRaw()