All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.telegram.telegrambots.api.methods.ParseMode Maven / Gradle / Ivy

package org.telegram.telegrambots.api.methods;

import com.fasterxml.jackson.annotation.JsonValue;

import lombok.AllArgsConstructor;

/**
 * 
 * @author Lev Nadeinsky
 * @author Ruben Bermudez
 * @brief Type of parse modes for text in messages
 * @date	2016-11-22
 */
@AllArgsConstructor
public enum ParseMode {
    MARKDOWN("Markdown"),
    HTML("html");
    
    private String text;
    

    @JsonValue
    public String getText() {
		return text;
	}
    
    @Override
    public String toString() {
        return text;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy