Skip to content

Latest commit

 

History

History
56 lines (53 loc) · 49.7 KB

File metadata and controls

56 lines (53 loc) · 49.7 KB

TweetModel

Fields

Field Setter Type Getter Type Required Description Example
tweetId String String ✔️ The unique identifier for the Tweet 1803006263529541838
isPaidPromotion @Nullable boolean JsonNullable<boolean> Indicates whether the content or user is associated with a paid promotion
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
true
text String String ✔️ The actual text content of the Tweet
createdAt @Nullable String JsonNullable<String> The date and time the Tweet was created
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
Mon Jun 17 03:51:48 +0000 2024
createdAtDatetime @Nullable String JsonNullable<String> The ISO 8601 format of the creation date
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
2024-06-17T03:51:48.000Z
bookmarkCount @Nullable long JsonNullable<long> Number of times the Tweet has been bookmarked
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
bookmarked @Nullable boolean JsonNullable<boolean> Indicates if the authenticating user has bookmarked this Tweet
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
communityNote @Nullable String JsonNullable<String> Community note associated with the Tweet
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
editTweetIds @Nullable List<String> Optional<List<String>> A list of Tweet IDs for each edit of the Tweet
editableUntilMsecs @Nullable String JsonNullable<String> Timestamp for when the Tweet is no longer editable
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
editsRemaining @Nullable String JsonNullable<String> Number of edits remaining for the Tweet
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
favoriteCount @Nullable long JsonNullable<long> Number of likes (favorites) for the Tweet
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
favorited @Nullable boolean JsonNullable<boolean> Indicates if the authenticating user has liked this Tweet
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
fullText @Nullable String JsonNullable<String> The full text of the Tweet, especially for extended tweets
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
hasCard @Nullable boolean JsonNullable<boolean> Indicates if the Tweet has a card attached
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
hasCommunityNotes @Nullable boolean JsonNullable<boolean> Indicates if the Tweet has community notes
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
hashtags @Nullable List<String> Optional<List<String>> A list of hashtags mentioned in the Tweet [
"AI",
"Python"
]
cashtags @Nullable List<String> Optional<List<String>> A list of cashtags (stock symbols) mentioned in the Tweet [
"$TSLA"
]
id @Nullable String JsonNullable<String> The unique identifier for the Tweet (same as tweet_id)
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
inReplyTo @Nullable String JsonNullable<String> ID of the Tweet this is a reply to
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
inReplyToUserId @Nullable String JsonNullable<String> ID of the user this is a reply to
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
inReplyToScreenName @Nullable String JsonNullable<String> Screen name of the user this is a reply to
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
isEditEligible @Nullable boolean JsonNullable<boolean> Indicates if the Tweet is eligible for editing
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
isQuoteStatus @Nullable boolean JsonNullable<boolean> Indicates if this Tweet is a quote of another Tweet
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
quotedStatusIdStr @Nullable String JsonNullable<String> The unique identifier for the Tweet that this is a quote of
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
isTranslatable @Nullable boolean JsonNullable<boolean> Indicates if the Tweet is translatable
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
lang @Nullable String JsonNullable<String> The BCP 47 language identifier for the Tweet's content
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
en
media @Nullable List<MediaModel> Optional<List<MediaModel>> A list of media objects (photos, videos) attached to the Tweet
place @Nullable String JsonNullable<String> The location associated with the Tweet
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
poll @Nullable String JsonNullable<String> A poll attached to the Tweet
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
possiblySensitive @Nullable boolean JsonNullable<boolean> Indicates if the Tweet may contain sensitive content
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
possiblySensitiveEditable @Nullable boolean JsonNullable<boolean> Indicates if the sensitive content flag is editable
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
quote @Nullable TweetModel JsonNullable<TweetModel> The Tweet object being quoted
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
quoteCount @Nullable long JsonNullable<long> Number of times this Tweet has been quoted
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
relatedTweets @Nullable List<TweetModel> Optional<List<TweetModel>> A list of related Tweets
replies @Nullable List<TweetModel> Optional<List<TweetModel>> A list of replies to this Tweet
replyCount @Nullable long JsonNullable<long> Number of replies to this Tweet
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
replyTo @Nullable TweetModel JsonNullable<TweetModel> The Tweet object this is a reply to
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
retweetCount @Nullable long JsonNullable<long> Number of times this Tweet has been retweeted
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
retweetedTweet @Nullable TweetModel JsonNullable<TweetModel> The original Tweet object if this is a retweet
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
thread @Nullable List<TweetModel> JsonNullable<List<TweetModel>> The conversation thread ID
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
thumbnailTitle @Nullable String JsonNullable<String> Title for the thumbnail in a card
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
thumbnailUrl @Nullable String JsonNullable<String> URL for the thumbnail in a card
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
urls @Nullable List<String> Optional<List<String>> A list of URLs included in the Tweet
user @Nullable UserModel JsonNullable<UserModel> The user who posted the Tweet
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
viewCount @Nullable String JsonNullable<String> Number of views for the Tweet
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
viewCountState @Nullable String JsonNullable<String> State of the view count
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
status @Nullable Map<String, Object> JsonNullable<Map<String, Object>> Raw status dictionary
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.
targetCount @Nullable long JsonNullable<long> The target count of items requested, for context
Supports tri-state: omit setter to leave unset, pass null to send explicit JSON null.