You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# @note The field +tweet.fields=created_at+ must be specified when fetching the tweet to access this data
50
+
#
51
+
# @return [String] The time (ISO 8601) the Tweet was created
52
+
defcreated_at
53
+
data["created_at"]
54
+
end
55
+
56
+
# Unique identifier of this user
57
+
#
58
+
# @note The expansion +expansions=author_id+ must be specified when fetching the tweet to access this data
59
+
#
60
+
# @return [String] Unique identifier of this user
33
61
defauthor_id
34
62
data["author_id"]
35
63
end
36
64
37
-
defconversation_id
38
-
data["conversation_id"]
65
+
# @see conversation_id
66
+
defparent_tweet_id
67
+
conversation_id
39
68
end
40
69
41
-
defcreated_at
42
-
data["created_at"]
70
+
# Returns the origin / root Tweet ID of the conversation (which includes direct replies, replies of replies)
71
+
#
72
+
# @note The field +tweet.fields=conversation_id+ must be specified when fetching the tweet to access this data
73
+
#
74
+
# @return [String] Returns the origin / root Tweet ID of the conversation
75
+
defconversation_id
76
+
data["conversation_id"]
43
77
end
44
78
79
+
# @see in_reply_to_user_id
45
80
defreply_to
46
81
in_reply_to_user_id
47
82
end
48
83
84
+
# If this Tweet is a reply, returns the user ID of the parent tweet's author
85
+
#
86
+
# @note The expansion +expansions=in_reply_to_user_id+ must be specified when fetching the tweet to access this data
87
+
#
88
+
# @return [String] If this Tweet is a Reply, indicates the user ID of the parent Tweet's author.
49
89
defin_reply_to_user_id
50
90
data["in_reply_to_user_id"]
51
91
end
52
92
53
-
deflang
54
-
data["lang"]
93
+
# A list of Tweets this Tweet refers to. For example, if the parent Tweet is a Retweet, a Retweet with comment (also known as Quoted Tweet) or a Reply, it will include the related Tweet referenced to by its parent
94
+
#
95
+
# @note The field +tweet.fields=referenced_tweets+ must be specified when fetching the tweet to access this data
96
+
#
97
+
# @return [Array] A list of Tweets this Tweet refers to
98
+
defreferenced_tweets
99
+
data["referenced_tweets"]
100
+
end
101
+
102
+
# Specifies the type of attachments (if any) present in this Tweet
103
+
#
104
+
# @note The field +tweet.fields=referenced_tweets+ must be specified when fetching the tweet to access this data
105
+
#
106
+
# @return TODO
107
+
defattachments
108
+
@attachments
109
+
end
110
+
111
+
# Contains details about the location tagged by the user in this Tweet, if they specified one.
112
+
#
113
+
# @note The field +tweet.fields=referenced_tweets+ must be specified when fetching the tweet to access this data
114
+
#
115
+
# @return TODO
116
+
defgeo
117
+
end
118
+
119
+
# Context annotations for the Tweet.
120
+
#
121
+
# @note The field +tweet.fields=context_annotations+ must be specified when fetching the tweet to access this data
0 commit comments