Package com.restfb.types.threads
Class TdReply
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.threads.TdReply
- All Implemented Interfaces:
Serializable
Represents the Reply or Conversation type
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList of child posts.true if the Threads post or reply has replies that you can see.Whether or not the reply is hidden.Indicates if the media is a quoted reply made by another user.true if the Threads media is a reply. false if the Threads media is a top-level post.true
if your user is the owner of the Threads reply.Surface where the media is published.The media type for a Threads reply.The post’s media URL.Permanent link to the post.Media ID of the immediate parent of the reply.Who can reply to your post.Media ID of the top-level post or original thread in the reply tree.Shortcode of the media.getText()
Represents text for a Threads reply.URL of thumbnail.The publish date and time of the post in ISO 8601 format.Instagram username who created the post.void
setChildren
(List<TdReply> children) List of child posts.void
setHasReplies
(Boolean hasReplies) true if the Threads post or reply has replies that you can see.void
setHideStatus
(TdReply.TdHideStatus hideStatus) Whether or not the reply is hidden.void
setIsQuotePost
(Boolean isQuotePost) Indicates if the media is a quoted reply made by another user.void
setIsReply
(Boolean isReply) true if the Threads media is a reply. false if the Threads media is a top-level post.void
setIsReplyOwnedByMe
(Boolean isReplyOwnedByMe) true
if your user is the owner of the Threads reply.void
setMediaProductType
(String mediaProductType) Surface where the media is published.void
setMediaType
(TdMediaType mediaType) The media type for a Threads reply.void
setMediaUrl
(String mediaUrl) The post’s media URL.void
setPermalink
(String permalink) Permanent link to the post.void
setRepliedTo
(TdReply repliedTo) Media ID of the immediate parent of the reply.void
setReplyAudience
(TdReply.TdReplyAudience replyAudience) Who can reply to your post.void
setRootPost
(TdReply rootPost) Media ID of the top-level post or original thread in the reply tree.void
setShortcode
(String shortcode) Shortcode of the media.void
Represents text for a Threads reply.void
setThumbnailUrl
(String thumbnailUrl) URL of thumbnail.void
setTimestamp
(Date timestamp) The publish date and time of the post in ISO 8601 format.void
setUsername
(String username) Instagram username who created the post.Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
TdReply
public TdReply()
-
-
Method Details
-
getText
Represents text for a Threads reply. This is optional on image, video, and carousel replies. -
setText
Represents text for a Threads reply. This is optional on image, video, and carousel replies. -
getUsername
Instagram username who created the post. Note: This only works for public users or your own user. -
setUsername
Instagram username who created the post. Note: This only works for public users or your own user. -
getPermalink
Permanent link to the post. Will be omitted if the media contains copyrighted material or has been flagged for a copyright violation. Note: This only works for public users or your own user. -
setPermalink
Permanent link to the post. Will be omitted if the media contains copyrighted material or has been flagged for a copyright violation. Note: This only works for public users or your own user. -
getTimestamp
The publish date and time of the post in ISO 8601 format. -
setTimestamp
The publish date and time of the post in ISO 8601 format. -
getMediaProductType
Surface where the media is published. In the case of Threads, the value is THREADS. -
setMediaProductType
Surface where the media is published. In the case of Threads, the value is THREADS. -
getMediaType
The media type for a Threads reply. Values: TEXT_POST, IMAGE, VIDEO, CAROUSEL_ALBUM -
setMediaType
The media type for a Threads reply. Values: TEXT_POST, IMAGE, VIDEO, CAROUSEL_ALBUM -
getMediaUrl
The post’s media URL. This only shows for image, video, and carousel replies. -
setMediaUrl
The post’s media URL. This only shows for image, video, and carousel replies. -
getShortcode
Shortcode of the media. -
setShortcode
Shortcode of the media. -
getThumbnailUrl
URL of thumbnail. This only shows for Threads replies with video. -
setThumbnailUrl
URL of thumbnail. This only shows for Threads replies with video. -
getChildren
List of child posts. This only shows for carousel replies. -
setChildren
List of child posts. This only shows for carousel replies. -
getIsQuotePost
Indicates if the media is a quoted reply made by another user. -
setIsQuotePost
Indicates if the media is a quoted reply made by another user. -
getHasReplies
true if the Threads post or reply has replies that you can see. -
setHasReplies
true if the Threads post or reply has replies that you can see. -
getRootPost
Media ID of the top-level post or original thread in the reply tree. Note: This only appears on replies. -
setRootPost
Media ID of the top-level post or original thread in the reply tree. Note: This only appears on replies. -
getRepliedTo
Media ID of the immediate parent of the reply. Note: This only appears on replies. -
setRepliedTo
Media ID of the immediate parent of the reply. Note: This only appears on replies. -
getIsReply
true if the Threads media is a reply. false if the Threads media is a top-level post. -
setIsReply
true if the Threads media is a reply. false if the Threads media is a top-level post. -
getIsReplyOwnedByMe
true
if your user is the owner of the Threads reply.
false
if another user is the owner of the Threads reply. -
setIsReplyOwnedByMe
true
if your user is the owner of the Threads reply.
false
if another user is the owner of the Threads reply. -
getHideStatus
Whether or not the reply is hidden. Values: NOT_HUSHED, UNHUSHED, HIDDEN, COVERED, BLOCKED, RESTRICTED -
setHideStatus
Whether or not the reply is hidden. Values: NOT_HUSHED, UNHUSHED, HIDDEN, COVERED, BLOCKED, RESTRICTED -
getReplyAudience
Who can reply to your post. -
setReplyAudience
Who can reply to your post.
-