public static enum MessageEntity.Type extends java.lang.Enum<MessageEntity.Type>
| Enum Constant and Description |
|---|
bold |
bot_command |
code |
email |
hashtag |
italic |
mention |
pre |
text_link |
text_mention |
url |
| Modifier and Type | Method and Description |
|---|---|
static MessageEntity.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageEntity.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageEntity.Type mention
public static final MessageEntity.Type hashtag
public static final MessageEntity.Type bot_command
public static final MessageEntity.Type url
public static final MessageEntity.Type email
public static final MessageEntity.Type bold
public static final MessageEntity.Type italic
public static final MessageEntity.Type code
public static final MessageEntity.Type pre
public static final MessageEntity.Type text_link
public static final MessageEntity.Type text_mention
public static MessageEntity.Type[] values()
for (MessageEntity.Type c : MessageEntity.Type.values()) System.out.println(c);
public static MessageEntity.Type 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