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