public class LocationEvent extends FbBotMillBean implements FbBotMillEvent
FbBotMillEvent that triggers whenever the users sends a location
using a QuickReply button.| Constructor and Description |
|---|
LocationEvent()
Instantiates a new LocationEvent.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
boolean |
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.
|
eventKind, getLocationMessage, safeGetMessage, safeGetPostbackPayload, safeGetQuickReplyPayload, safeGetRecipient, safeGetRecipientId, safeGetSender, safeGetSenderId, validatepublic final boolean verifyEventCondition(MessageEnvelope envelope)
verifyEventCondition in interface FbBotMillEventenvelope - the message envelope that contains the location payload.public String toString()
toString in class FbBotMillBeanCopyright © 2017 BotMill. All rights reserved.