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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAudio()An arbitrary 256B string, useful for tracking (optional).getFrom()getId()getImage()getText()getType()getVideo()booleanbooleanbooleanbooleanbooleanbooleanisAudio()booleanisButton()booleanbooleanisImage()booleanbooleanbooleanbooleanbooleanisSystem()booleanisText()booleanisVideo()booleanisVoice()voidvoidsetBizOpaqueCallbackData(String bizOpaqueCallbackData) An arbitrary 256B string, useful for tracking (optional).voidvoidsetContacts(List<MessageContact> contacts) voidsetContext(Context context) voidsetDocument(Document document) voidvoidvoidvoidsetIdentity(Identity identity) voidvoidsetInteractive(Interactive interactive) voidsetLocation(Location location) voidsetReaction(Reaction reaction) voidsetReferral(Referral referral) voidsetSticker(Sticker sticker) voidvoidvoidsetTimestamp(Date timestamp) voidsetType(MessageType type) voidMethods 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
-