Constructor and Description |
---|
SimpleJsonChatlet() |
SimpleJsonChatlet(Chatlet orig) |
SimpleJsonChatlet(org.json.JSONObject orig) |
Modifier and Type | Method and Description |
---|---|
Chatlet |
alias(java.lang.String type)
After calling this method, replies to this chatlet
will go to the method annotated with @OnAlias
|
Reply |
createReply()
Creates a new reply that will go as a reply to this chatlet.
|
java.lang.String[] |
getAlias()
Get alias assigned to the chatlet.
|
java.lang.String |
getFormId() |
java.lang.String |
raw() |
SimpleJsonChatlet |
setBlankKeys(java.lang.String[] keys) |
void |
setFormId(java.lang.String formid)
Assign a form id to the chatlet
|
SimpleJsonChatlet |
updateKey(java.lang.String key,
java.lang.Object o) |
public SimpleJsonChatlet(Chatlet orig)
public SimpleJsonChatlet(org.json.JSONObject orig)
public SimpleJsonChatlet()
public Chatlet alias(java.lang.String type)
Chatlet
public java.lang.String[] getAlias()
Chatlet
public Reply createReply()
Chatlet
createReply
in interface Chatlet
public java.lang.String raw()
public void setFormId(java.lang.String formid)
Message
public java.lang.String getFormId()
public SimpleJsonChatlet updateKey(java.lang.String key, java.lang.Object o)
public SimpleJsonChatlet setBlankKeys(java.lang.String[] keys)