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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accountLinking
(AccountLinkingItem item, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
appRoles
(AppRoles appRoles, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
checkoutUpdate
(CheckoutUpdateItem checkoutUpdate, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
delivery
(DeliveryItem delivery, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
message
(MessageItem message, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
optin
(OptinItem optin, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
passThreadControl
(PassThreadControlItem passThreadControl, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
payment
(PaymentItem payment, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
policyEnforcement
(PolicyEnforcementItem policyEnforcement, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
postback
(PostbackItem postback, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
reaction
(MessageReaction reaction, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
read
(ReadItem read, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
referral
(ReferralItem referral, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
requestThreadControl
(RequestThreadControlItem requestThreadControl, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) void
takeThreadControl
(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:
accountLinking
in interfaceWebhookMessagingListener
-
appRoles
public void appRoles(AppRoles appRoles, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
appRoles
in interfaceWebhookMessagingListener
-
checkoutUpdate
public void checkoutUpdate(CheckoutUpdateItem checkoutUpdate, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
checkoutUpdate
in interfaceWebhookMessagingListener
-
delivery
public void delivery(DeliveryItem delivery, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
delivery
in interfaceWebhookMessagingListener
-
message
public void message(MessageItem message, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
message
in interfaceWebhookMessagingListener
-
optin
public void optin(OptinItem optin, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
optin
in interfaceWebhookMessagingListener
-
passThreadControl
public void passThreadControl(PassThreadControlItem passThreadControl, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
passThreadControl
in interfaceWebhookMessagingListener
-
payment
public void payment(PaymentItem payment, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
payment
in interfaceWebhookMessagingListener
-
policyEnforcement
public void policyEnforcement(PolicyEnforcementItem policyEnforcement, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
policyEnforcement
in interfaceWebhookMessagingListener
-
postback
public void postback(PostbackItem postback, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
postback
in interfaceWebhookMessagingListener
-
reaction
public void reaction(MessageReaction reaction, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
reaction
in interfaceWebhookMessagingListener
-
read
public void read(ReadItem read, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
read
in interfaceWebhookMessagingListener
-
referral
public void referral(ReferralItem referral, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
referral
in interfaceWebhookMessagingListener
-
requestThreadControl
public void requestThreadControl(RequestThreadControlItem requestThreadControl, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
requestThreadControl
in interfaceWebhookMessagingListener
-
takeThreadControl
public void takeThreadControl(TakeThreadControlItem takeThreadControl, MessagingParticipant recipient, MessagingParticipant sender, Date timestamp) - Specified by:
takeThreadControl
in interfaceWebhookMessagingListener
-