Class Message
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.whatsapp.platform.Message
-
- All Implemented Interfaces:
Serializable
public class Message extends AbstractFacebookType
https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks/components#messages-object- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Message()
-
Method Summary
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
Message
public Message()
-
-
Method Detail
-
isText
public boolean isText()
-
isImage
public boolean isImage()
-
isVideo
public boolean isVideo()
-
isSticker
public boolean isSticker()
-
isLocation
public boolean isLocation()
-
isAudio
public boolean isAudio()
-
isVoice
public boolean isVoice()
-
isButton
public boolean isButton()
-
isDocument
public boolean isDocument()
-
hasReferral
public boolean hasReferral()
-
hasContext
public boolean hasContext()
-
isSystem
public boolean isSystem()
-
isInteractive
public boolean isInteractive()
-
isReaction
public boolean isReaction()
-
hasContacts
public boolean hasContacts()
-
hasErrors
public boolean hasErrors()
-
hasIdentity
public boolean hasIdentity()
-
getContext
public Context getContext()
-
setContext
public void setContext(Context context)
-
getDocument
public Document getDocument()
-
setDocument
public void setDocument(Document document)
-
getIdentity
public Identity getIdentity()
-
setIdentity
public void setIdentity(Identity identity)
-
getInteractive
public Interactive getInteractive()
-
setInteractive
public void setInteractive(Interactive interactive)
-
getLocation
public Location getLocation()
-
setLocation
public void setLocation(Location location)
-
getReferral
public Referral getReferral()
-
setReferral
public void setReferral(Referral referral)
-
getSticker
public Sticker getSticker()
-
setSticker
public void setSticker(Sticker sticker)
-
getTimestamp
public Date getTimestamp()
-
setTimestamp
public void setTimestamp(Date timestamp)
-
getType
public MessageType getType()
-
setType
public void setType(MessageType type)
-
getReaction
public Reaction getReaction()
-
setReaction
public void setReaction(Reaction reaction)
-
getContacts
public List<MessageContact> getContacts()
-
setContacts
public void setContacts(List<MessageContact> contacts)
-
getBizOpaqueCallbackData
public String getBizOpaqueCallbackData()
An arbitrary 256B string, useful for tracking (optional). Cloud API only
-
setBizOpaqueCallbackData
public void setBizOpaqueCallbackData(String bizOpaqueCallbackData)
An arbitrary 256B string, useful for tracking (optional). Cloud API only
-
-