|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Proxy
Interface used by the bots to send messages back to the session.
| Method Summary | |
|---|---|
void |
publish(Bot bot,
Map<String,Object> data)
Allows the bot to publish data to the session. |
void |
reply(Bot bot,
String replyToken,
Map<String,Object> data)
Allows the bot to reply to a private user request. |
| Method Detail |
|---|
void reply(Bot bot,
String replyToken,
Map<String,Object> data)
bot - The bot making the reply.replyToken - The token associated with the user request.data - The data to send to the client.
void publish(Bot bot,
Map<String,Object> data)
bot - The bot performing the publish.data - The data to send to the session.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||