public class Message extends HashMap<String,Object> implements Serializable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_CARD |
static String |
TYPE_TEXT |
| Constructor and Description |
|---|
Message() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Returns the Content
|
String |
getContent(Map<String,BotMessageRenderer> mapRenderers)
Returns the Content
|
String |
getType()
Returns the Type
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic static final String TYPE_TEXT
public static final String TYPE_CARD
public String getType()
public String getContent()
public String getContent(Map<String,BotMessageRenderer> mapRenderers)
mapRenderers - renderersCopyright © 2017 City of Paris. All rights reserved.