Class MessagingItem
java.lang.Object
com.restfb.types.webhook.messaging.MessagingItem
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetItem()
generic access to the inner item.getOptin()
getRead()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isOptin()
boolean
boolean
boolean
boolean
boolean
boolean
isRead()
boolean
boolean
boolean
void
setAccountLinking
(AccountLinkingItem accountLinking) void
setAppRoles
(AppRoles appRoles) void
setCheckoutUpdate
(CheckoutUpdateItem checkoutUpdate) void
setDelivery
(DeliveryItem delivery) void
setMessage
(MessageItem message) void
setMessageEdit
(MessageEditItem messageEdit) void
void
setPassThreadControl
(PassThreadControlItem passThreadControl) void
setPayment
(PaymentItem payment) void
setPolicyEnforcement
(PolicyEnforcementItem policyEnforcement) void
setPostback
(PostbackItem postback) void
setPriorMessage
(PriorMessage priorMessage) void
setReaction
(MessageReaction reaction) void
void
setRecipient
(MessagingParticipant recipient) void
setReferral
(ReferralItem referral) void
setRequestThreadControl
(RequestThreadControlItem requestThreadControl) void
setSender
(MessagingParticipant sender) void
setTakeThreadControl
(TakeThreadControlItem takeThreadControl) void
setTimestamp
(Date timestamp) toString()
-
Constructor Details
-
MessagingItem
public MessagingItem()
-
-
Method Details
-
getItem
generic access to the inner item. depending on the inner elements the corresponding element is returned. So you can get anOptinItem
,PostbackItem
,DeliveryItem
,AccountLinkingItem
orMessageItem
- Returns:
- the inner item.
-
isDelivery
-
isRead
-
isMessage
-
isPostback
-
isOptin
-
isAccountLinking
-
isCheckoutUpdate
-
isPayment
-
isReferral
-
isPolicyEnforcement
-
isPassThreadControl
-
isTakeThreadControl
-
isRequestThreadControl
-
isAppRoles
-
hasPriorMessage
-
isReaction
-
toString
-
getSender
-
setSender
-
getRecipient
-
setRecipient
-
getTimestamp
-
setTimestamp
-
getDelivery
-
setDelivery
-
getRead
-
setRead
-
getMessage
-
setMessage
-
getMessageEdit
-
setMessageEdit
-
getPostback
-
setPostback
-
getOptin
-
setOptin
-
getAccountLinking
-
setAccountLinking
-
getCheckoutUpdate
-
setCheckoutUpdate
-
getPayment
-
setPayment
-
getReferral
-
setReferral
-
getPolicyEnforcement
-
setPolicyEnforcement
-
getPassThreadControl
-
setPassThreadControl
-
getTakeThreadControl
-
setTakeThreadControl
-
getRequestThreadControl
-
setRequestThreadControl
-
getAppRoles
-
setAppRoles
-
getPriorMessage
-
setPriorMessage
-
getReaction
-
setReaction
-