Class Context
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.whatsapp.platform.message.Context
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFrom()
The WhatsApp ID for the customer who replied to an inbound messagegetId()
The message ID for the sent message for an inbound replyboolean
Set to true if the message received by the business has been forwardedboolean
Set to true if the message received by the business has been forwarded more than 5 times.void
setForwarded
(boolean forwarded) Set to true if the message received by the business has been forwardedvoid
setFrequentlyForwarded
(boolean frequentlyForwarded) Set to true if the message received by the business has been forwarded more than 5 times.void
The WhatsApp ID for the customer who replied to an inbound messagevoid
The message ID for the sent message for an inbound replyMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
Context
public Context()
-
-
Method Details
-
isForwarded
Set to true if the message received by the business has been forwarded -
setForwarded
Set to true if the message received by the business has been forwarded -
isFrequentlyForwarded
Set to true if the message received by the business has been forwarded more than 5 times. -
setFrequentlyForwarded
Set to true if the message received by the business has been forwarded more than 5 times. -
getFrom
The WhatsApp ID for the customer who replied to an inbound message -
setFrom
The WhatsApp ID for the customer who replied to an inbound message -
getId
The message ID for the sent message for an inbound reply -
setId
The message ID for the sent message for an inbound reply
-