Package com.restfb.webhook
Class AbstractWebhookMessagingListener
java.lang.Object
com.restfb.webhook.AbstractWebhookMessagingListener
- All Implemented Interfaces:
WebhookMessagingListener
public abstract class AbstractWebhookMessagingListener
extends Object
implements WebhookMessagingListener
abstract class as base for custom webhook messaging listener, with this abstract class it is possible to implement
only a subset of the need methods and ignore the other ones.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccountLinking(AccountLinkingItem item, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voidappRoles(AppRoles appRoles, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voidcheckoutUpdate(CheckoutUpdateItem checkoutUpdate, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voiddelivery(DeliveryItem delivery, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voidmessage(MessageItem message, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voidoptin(OptinItem optin, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voidpassThreadControl(PassThreadControlItem passThreadControl, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voidpayment(PaymentItem payment, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voidpolicyEnforcement(PolicyEnforcementItem policyEnforcement, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voidpostback(PostbackItem postback, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voidreaction(MessageReaction reaction, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voidread(ReadItem read, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voidreferral(ReferralItem referral, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voidrequestThreadControl(RequestThreadControlItem requestThreadControl, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) voidtakeThreadControl(TakeThreadControlItem takeThreadControl, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp)
-
Constructor Details
-
AbstractWebhookMessagingListener
public AbstractWebhookMessagingListener()
-
-
Method Details
-
accountLinking
public void accountLinking(AccountLinkingItem item, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
accountLinkingin interfaceWebhookMessagingListener
-
appRoles
public void appRoles(AppRoles appRoles, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
appRolesin interfaceWebhookMessagingListener
-
checkoutUpdate
public void checkoutUpdate(CheckoutUpdateItem checkoutUpdate, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
checkoutUpdatein interfaceWebhookMessagingListener
-
delivery
public void delivery(DeliveryItem delivery, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
deliveryin interfaceWebhookMessagingListener
-
message
public void message(MessageItem message, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
messagein interfaceWebhookMessagingListener
-
optin
public void optin(OptinItem optin, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
optinin interfaceWebhookMessagingListener
-
passThreadControl
public void passThreadControl(PassThreadControlItem passThreadControl, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
passThreadControlin interfaceWebhookMessagingListener
-
payment
public void payment(PaymentItem payment, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
paymentin interfaceWebhookMessagingListener
-
policyEnforcement
public void policyEnforcement(PolicyEnforcementItem policyEnforcement, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
policyEnforcementin interfaceWebhookMessagingListener
-
postback
public void postback(PostbackItem postback, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
postbackin interfaceWebhookMessagingListener
-
reaction
public void reaction(MessageReaction reaction, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
reactionin interfaceWebhookMessagingListener
-
read
public void read(ReadItem read, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
readin interfaceWebhookMessagingListener
-
referral
public void referral(ReferralItem referral, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
referralin interfaceWebhookMessagingListener
-
requestThreadControl
public void requestThreadControl(RequestThreadControlItem requestThreadControl, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
requestThreadControlin interfaceWebhookMessagingListener
-
takeThreadControl
public void takeThreadControl(TakeThreadControlItem takeThreadControl, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
takeThreadControlin interfaceWebhookMessagingListener
-