| Modifier and Type | Field and Description |
|---|---|
MessageEnvelope |
FbBotMillContext.messageEnvelope
The message envelope.
|
| Modifier and Type | Method and Description |
|---|---|
MessageEnvelope |
FbBot.getEnvelope() |
| Modifier and Type | Method and Description |
|---|---|
void |
FbBot.processMessage(MessageEnvelope envelope)
Checks if there's any registered
FbBotMillEvent for the incoming
callback. |
void |
FbBot.setEnvelope(MessageEnvelope envelope)
Sets the envelope.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ActionFrame.afterReply(MessageEnvelope envelope)
Convenience method executed after the reply is sent to the user.
|
void |
ActionFrame.beforeReply(MessageEnvelope envelope)
Convenience method executed before the reply is sent to the user.
|
boolean |
ActionFrame.process(MessageEnvelope envelope)
Executes the reply if the event is triggered.
|
boolean |
ActionFrame.processMultipleReply(MessageEnvelope envelope)
Executes multiple replies when multiple autoreply is set.
|
| Modifier and Type | Method and Description |
|---|---|
FbBotMillResponse |
Reply.createResponse(MessageEnvelope envelope)
Method which defines the response to send back as a response to the
current message.
|
FbBotMillResponse |
MessageAutoReply.createResponse(MessageEnvelope envelope)
Method which defines the response to send back as a response to the
current message.
|
FbBotMillResponse |
LambdaAutoReply.createResponse(MessageEnvelope envelope) |
FbBotMillResponse |
EchoAutoReply.createResponse(MessageEnvelope envelope)
Method which defines the response to send back as a response to the
current message.
|
abstract FbBotMillResponse |
AutoReply.createResponse(MessageEnvelope envelope) |
FbBotMillResponse |
AttachmentAutoReply.createResponse(MessageEnvelope envelope)
Method which defines the response to send back as a response to the
current message.
|
FbBotMillResponse |
ActionAutoReply.createResponse(MessageEnvelope envelope)
Method which defines the response to send back as a response to the
current message.
|
void |
AutoReply.reply(MessageEnvelope envelope)
Method which defines the reply flow.
|
| Modifier and Type | Method and Description |
|---|---|
protected FbBotMillEventType |
FbBotMillBean.eventKind(MessageEnvelope envelope)
Returns the kind of callback received for the current envelope.
|
protected Attachment |
FbBotMillBean.getAudioMessage(MessageEnvelope envelope)
Gets the audio message.
|
protected Attachment |
FbBotMillBean.getFileMessage(MessageEnvelope envelope)
Gets the file message.
|
protected Attachment |
FbBotMillBean.getImageMessage(MessageEnvelope envelope)
Gets the image message.
|
protected LocationCoordinates |
FbBotMillBean.getLocationMessage(MessageEnvelope envelope)
Retrieves the location from an envelope.
|
protected Attachment |
FbBotMillBean.getVideoMessage(MessageEnvelope envelope)
Gets the video message.
|
protected String |
FbBotMillBean.safeGetMessage(MessageEnvelope envelope)
Retrieves a text message from an envelope.
|
protected String |
FbBotMillBean.safeGetPostbackPayload(MessageEnvelope envelope)
Retrieves a text message from an envelope.
|
protected String |
FbBotMillBean.safeGetQuickReplyPayload(MessageEnvelope envelope)
Retrieves a quick reply payload from an envelope.
|
protected User |
FbBotMillBean.safeGetRecipient(MessageEnvelope envelope)
Retrieves the recipient from an envelope.
|
protected String |
FbBotMillBean.safeGetRecipientId(MessageEnvelope envelope)
Retrieves the recipient ID from an envelope.
|
protected User |
FbBotMillBean.safeGetSender(MessageEnvelope envelope)
Retrieves the sender from an envelope.
|
protected String |
FbBotMillBean.safeGetSenderId(MessageEnvelope envelope)
Retrieves the sender ID from an envelope.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FbBotMillEvent.verifyEventCondition(MessageEnvelope envelope)
A method which evaluates whether the event is verified or not.
|
boolean |
AnyEvent.verifyEventCondition(MessageEnvelope envelope)
Verify event condition.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ReferralEvent.verifyEventCondition(MessageEnvelope envelope) |
boolean |
AccountLinkingEvent.verifyEventCondition(MessageEnvelope envelope) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
BaseMediaEvent.safeGetImage(MessageEnvelope envelope) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
VideoEvent.verifyEventCondition(MessageEnvelope envelope)
This method is called to verify that the message envelope contains the
payload to verify that we are processing a location input.
|
boolean |
ImageEvent.verifyEventCondition(MessageEnvelope envelope)
This method is called to verify that the message envelope contains the
payload to verify that we are processing a location input.
|
boolean |
FileEvent.verifyEventCondition(MessageEnvelope envelope)
This method is called to verify that the message envelope contains the
payload to verify that we are processing a location input.
|
boolean |
AudioEvent.verifyEventCondition(MessageEnvelope envelope)
This method is called to verify that the message envelope contains the
payload to verify that we are processing a location input.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
QuickReplyMessagePatternEvent.verifyEventCondition(MessageEnvelope envelope)
Verify event condition.
|
boolean |
QuickReplyMessageEvent.verifyEventCondition(MessageEnvelope envelope)
Verify event condition.
|
boolean |
MessagePatternEvent.verifyEventCondition(MessageEnvelope envelope) |
boolean |
MessageEvent.verifyEventCondition(MessageEnvelope envelope) |
boolean |
LocationEvent.verifyEventCondition(MessageEnvelope envelope)
This method is called to verify that the message envelope contains the
payload to verify that we are processing a location input.
|
boolean |
AnyMessageEvent.verifyEventCondition(MessageEnvelope envelope)
Verify event condition.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PostbackPatternEvent.verifyEventCondition(MessageEnvelope envelope) |
boolean |
PostbackEvent.verifyEventCondition(MessageEnvelope envelope) |
boolean |
AnyPostbackEvent.verifyEventCondition(MessageEnvelope envelope) |
| Modifier and Type | Method and Description |
|---|---|
List<MessageEnvelope> |
MessengerCallbackEntry.getMessaging()
Gets the
MessengerCallbackEntry.messaging. |
| Modifier and Type | Method and Description |
|---|---|
void |
MessengerCallbackEntry.setMessaging(List<MessageEnvelope> messaging)
Sets the
MessengerCallbackEntry.messaging. |
| Modifier and Type | Method and Description |
|---|---|
IncomingToOutgoingMessageHandler |
IncomingToOutgoingMessageHandler.process(MessageEnvelope message)
Process.
|
| Modifier and Type | Method and Description |
|---|---|
FbBotMillResponse |
TextMessageBuilder.build(MessageEnvelope envelope)
Builds the
FbBotMillResponse that the bot should return. |
FbBotMillResponse |
ReceiptTemplateBuilder.build(MessageEnvelope envelope)
Builds the
FbBotMillResponse that the bot should return. |
FbBotMillResponse |
ListTemplateBuilder.build(MessageEnvelope envelope)
Builds the
FbBotMillResponse that the bot should return. |
FbBotMillResponse |
GenericTemplateBuilder.build(MessageEnvelope envelope)
Builds the
FbBotMillResponse that the bot should return. |
FbBotMillResponse |
ButtonTemplateBuilder.build(MessageEnvelope envelope)
Builds the
FbBotMillResponse that the bot should return. |
FbBotMillResponse |
AttachmentMessageBuilder.build(MessageEnvelope envelope)
Builds the
FbBotMillResponse that the bot should return. |
FbBotMillResponse |
AirlineItineraryTemplateBuilder.build(MessageEnvelope envelope)
Builds the
FbBotMillResponse that the bot should return. |
FbBotMillResponse |
AirlineFlightUpdateTemplateBuilder.build(MessageEnvelope envelope)
Builds the
FbBotMillResponse that the bot should return. |
FbBotMillResponse |
AirlineCheckinTemplateBuilder.build(MessageEnvelope envelope)
Builds the
FbBotMillResponse that the bot should return. |
FbBotMillResponse |
AirlineBoardingPassTemplateBuilder.build(MessageEnvelope envelope)
Builds the
FbBotMillResponse that the bot should return. |
FbBotMillResponse |
ActionResponseBuilder.build(MessageEnvelope envelope)
Builds the
FbBotMillResponse that the bot should return. |
protected User |
FbBotMillResponseBuilder.getRecipient(MessageEnvelope envelope)
Returns the recipient of the envelope which is the sender of the previous
one.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FbBotMillMockMediator.forward(MessageEnvelope envelope)
Forwards an envelope to the registered bots.
|
Copyright © 2017 BotMill. All rights reserved.