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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumNested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata -
Constructor Summary
Constructors -
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.trueif 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.voidsetChildren(List<TdReply> children) List of child posts.voidsetHasReplies(Boolean hasReplies) true if the Threads post or reply has replies that you can see.voidsetHideStatus(TdReply.TdHideStatus hideStatus) Whether or not the reply is hidden.voidsetIsQuotePost(Boolean isQuotePost) Indicates if the media is a quoted reply made by another user.voidsetIsReply(Boolean isReply) true if the Threads media is a reply. false if the Threads media is a top-level post.voidsetIsReplyOwnedByMe(Boolean isReplyOwnedByMe) trueif your user is the owner of the Threads reply.voidsetMediaProductType(String mediaProductType) Surface where the media is published.voidsetMediaType(TdMediaType mediaType) The media type for a Threads reply.voidsetMediaUrl(String mediaUrl) The post’s media URL.voidsetPermalink(String permalink) Permanent link to the post.voidsetRepliedTo(TdReply repliedTo) Media ID of the immediate parent of the reply.voidsetReplyAudience(TdReply.TdReplyAudience replyAudience) Who can reply to your post.voidsetRootPost(TdReply rootPost) Media ID of the top-level post or original thread in the reply tree.voidsetShortcode(String shortcode) Shortcode of the media.voidRepresents text for a Threads reply.voidsetThumbnailUrl(String thumbnailUrl) URL of thumbnail.voidsetTimestamp(Date timestamp) The publish date and time of the post in ISO 8601 format.voidsetUsername(String username) Instagram username who created the post.Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setTypeMethods 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
trueif your user is the owner of the Threads reply.
falseif another user is the owner of the Threads reply. -
setIsReplyOwnedByMe
trueif your user is the owner of the Threads reply.
falseif 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.
-