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) voidvoidvoidsetFromParentUserId(String fromParentUserId) voidsetFromUserId(String fromUserId) voidsetGroupId(String groupId) voidvoidsetIdentity(Identity identity) voidvoidsetInteractive(Interactive interactive) voidsetLocation(Location location) voidvoidsetReaction(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
-
getFromUserId
-
setFromUserId
-
getFromParentUserId
-
setFromParentUserId
-
getId
-
setId
-
getIdentity
-
setIdentity
-
getImage
-
setImage
-
getInteractive
-
setInteractive
-
getLocation
-
setLocation
-
getReferral
-
setReferral
-
getOrigin
-
setOrigin
-
getSystem
-
setSystem
-
getSticker
-
setSticker
-
getText
-
setText
-
getTimestamp
-
setTimestamp
-
getType
-
setType
-
getVideo
-
setVideo
-
getReaction
-
setReaction
-
getContacts
-
setContacts
-
getGroupId
-
setGroupId
-
getBizOpaqueCallbackData
An arbitrary 256B string, useful for tracking (optional). Cloud API only -
setBizOpaqueCallbackData
An arbitrary 256B string, useful for tracking (optional). Cloud API only
-