public enum Privacy extends Enum<Privacy>
| Enum Constant and Description |
|---|
ADMIN
A global admin of the bot, regardless of the group the bot is in.
|
CREATOR
The creator of the bot.
|
PUBLIC
Anybody who is not a bot admin or its creator will be considered as a public user.
|
| Modifier and Type | Method and Description |
|---|---|
static Privacy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Privacy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Privacy PUBLIC
public static final Privacy ADMIN
public static final Privacy CREATOR
public static Privacy[] values()
for (Privacy c : Privacy.values()) System.out.println(c);
public static Privacy 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 nullCopyright © 2017. All rights reserved.