public enum ParseMode extends Enum<ParseMode>
| Modifier and Type | Method and Description |
|---|---|
String |
getModeName()
Gets the mode name that telegram uses within its API to convert the enum for use with the HTTP API
|
static ParseMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParseMode NONE
public static final ParseMode MARKDOWN
public static final ParseMode HTML
public static ParseMode[] values()
for (ParseMode c : ParseMode.values()) System.out.println(c);
public static ParseMode 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 getModeName()
Copyright © 2017. All rights reserved.