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:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The WhatsApp ID for the customer who replied to an inbound message
    The message ID for the sent message for an inbound reply
    boolean
    Set to true if the message received by the business has been forwarded
    boolean
    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 forwarded
    void
    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 message
    void
    The message ID for the sent message for an inbound reply

    Methods inherited from class com.restfb.types.AbstractFacebookType

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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.
    • getFrom

      public String getFrom()
      The WhatsApp ID for the customer who replied to an inbound message
    • setFrom

      public void setFrom(String from)
      The WhatsApp ID for the customer who replied to an inbound message
    • getId

      public String getId()
      The message ID for the sent message for an inbound reply
    • setId

      public void setId(String id)
      The message ID for the sent message for an inbound reply