
pro.zackpollard.telegrambot.api.chat.message.send.ParseMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtelegram-botapi Show documentation
Show all versions of jtelegram-botapi Show documentation
The Java Telegram Bot API is a wrapper for the Telegram HTTP Bot API
package pro.zackpollard.telegrambot.api.chat.message.send;
/**
* @author Zack Pollard
*/
public enum ParseMode {
NONE(""),
MARKDOWN("Markdown"),
HTML("HTML");
private final String modeName;
ParseMode(String parseMode) {
this.modeName = parseMode;
}
/**
* Gets the mode name that telegram uses within its API to convert the enum for use with the HTTP API
*
* @return The telegram HTTP API version of the enum
*/
public String getModeName() {
return modeName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy