Class Context
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.whatsapp.platform.message.Context
-
- All Implemented Interfaces:
Serializable
public class Context extends AbstractFacebookType
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Context()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFrom()
The WhatsApp ID for the customer who replied to an inbound messageString
getId()
The message ID for the sent message for an inbound replyboolean
isForwarded()
Set to true if the message received by the business has been forwardedboolean
isFrequentlyForwarded()
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
setFrom(String from)
The WhatsApp ID for the customer who replied to an inbound messagevoid
setId(String id)
The message ID for the sent message for an inbound reply-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
Context
public Context()
-
-
Method Detail
-
isForwarded
public boolean isForwarded()
Set to true if the message received by the business has been forwarded
-
setForwarded
public void setForwarded(boolean forwarded)
Set to true if the message received by the business has been forwarded
-
isFrequentlyForwarded
public boolean isFrequentlyForwarded()
Set to true if the message received by the business has been forwarded more than 5 times.
-
setFrequentlyForwarded
public void setFrequentlyForwarded(boolean frequentlyForwarded)
Set to true if the message received by the business has been forwarded more than 5 times.
-
setFrom
public void setFrom(String from)
The WhatsApp ID for the customer who replied to an inbound message
-
-