2016-04-11 02:53:53 +02:00
|
|
|
package org.telegram.telegrambots.api.objects;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Ruben Bermudez
|
|
|
|
* @version 1.0
|
|
|
|
* @brief Types of messages entities
|
|
|
|
* @date 10 of April of 2016
|
|
|
|
*/
|
|
|
|
public class EntityType {
|
|
|
|
public static final String MENTION = "mention"; ///< @username
|
|
|
|
public static final String HASHTAG = "hashtag"; ///< #hashtag
|
|
|
|
public static final String BOTCOMMAND = "bot_command"; ///< /botcommand
|
|
|
|
public static final String URL = "url"; ///< http://url.url
|
|
|
|
public static final String EMAIL = "email"; ///< email@email.com
|
|
|
|
public static final String BOLD = "bold"; ///< Bold text
|
|
|
|
public static final String ITALIC = "italic"; ///< Italic text
|
|
|
|
public static final String CODE = "code"; ///< Monowidth string
|
|
|
|
public static final String PRE = "pre"; ///< Monowidth block
|
|
|
|
public static final String TEXTLINK = "text_link"; ///< Clickable urls
|
2016-05-22 11:42:04 +02:00
|
|
|
public static final String TEXTMENTION = "text_mention"; ///< for users without usernames
|
2016-04-11 02:53:53 +02:00
|
|
|
|
|
|
|
private EntityType() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|