Class: XTwitterScraper::Models::X::TweetGetRepliesParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- XTwitterScraper::Models::X::TweetGetRepliesParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb,
sig/x_twitter_scraper/models/x/tweet_get_replies_params.rbs
Overview
Defined Under Namespace
Modules: MediaType, Mode, Quotes, Replies, Retweets, Scope, Sort
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::XTwitterScraper
Instance Attribute Summary collapse
-
#any_words ⇒ String?
Words or quoted phrases where any one can match.
-
#blue_verified_only ⇒ Boolean?
Only return tweets from Blue-verified authors.
-
#card_name ⇒ String?
Match the Tweet card name.
-
#cashtags ⇒ String?
Cashtags separated by spaces, commas, or lines.
-
#conversation_id ⇒ String?
Conversation ID filter.
-
#cursor ⇒ String?
Cursor from the previous response.
-
#exact_phrase ⇒ String?
Exact phrase to match.
-
#exclude_original_author ⇒ Boolean?
Exclude replies written by the source-post author.
-
#exclude_source ⇒ String?
Exclude a source application.
-
#exclude_words ⇒ String?
Words or quoted phrases to exclude.
-
#from_user ⇒ String?
Filter by author username.
-
#geocode ⇒ String?
Match latitude, longitude, and radius.
-
#has_media_only ⇒ Boolean?
Only return replies containing media.
-
#hashtags ⇒ String?
Hashtags separated by spaces, commas, or lines.
- #id ⇒ String
-
#in_reply_to_tweet_id ⇒ String?
Only replies to this tweet ID.
-
#include_original_post ⇒ Boolean?
Include the source post and count it toward limit.
-
#language ⇒ String?
Language code filter, e.g.
-
#limit ⇒ Integer?
With mode=complete, maximum combined direct and nested reply rows (1-25000, default 25000).
-
#max_depth ⇒ Integer?
Maximum reply depth from the source post.
-
#max_faves ⇒ Integer?
Maximum likes threshold.
-
#max_id ⇒ String?
Return Tweets older than this Tweet ID.
-
#max_quotes ⇒ Integer?
Maximum quotes threshold.
-
#max_replies ⇒ Integer?
Maximum replies threshold.
-
#max_retweets ⇒ Integer?
Maximum retweets threshold.
-
#media_type ⇒ Symbol, ...
Filter by media type.
-
#mentioning ⇒ String?
Filter tweets mentioning a username.
-
#min_bookmarks ⇒ Integer?
Minimum bookmark count threshold.
-
#min_faves ⇒ Integer?
Minimum likes threshold.
-
#min_quotes ⇒ Integer?
Minimum quote count threshold.
-
#min_replies ⇒ Integer?
Minimum replies threshold.
-
#min_retweets ⇒ Integer?
Minimum retweets threshold.
-
#min_views ⇒ Integer?
Minimum view count threshold.
-
#mode ⇒ Symbol, ...
Optional advanced override.
-
#native_retweets ⇒ Boolean?
Only return native reposts.
-
#near ⇒ String?
Match a place name.
-
#news ⇒ Boolean?
Only return news results.
-
#page_size ⇒ Integer?
Automatic pages accept 1-300 Tweets.
-
#quotes ⇒ Symbol, ...
Quote mode.
-
#quotes_of_tweet_id ⇒ String?
Only quotes of this tweet ID.
-
#replies ⇒ Symbol, ...
Reply mode.
-
#retweets ⇒ Symbol, ...
Retweet mode.
-
#retweets_of_tweet_id ⇒ String?
Only retweets of this tweet ID.
-
#safe ⇒ Boolean?
Enable the safe-search filter.
-
#scope ⇒ Symbol, ...
Select all replies, direct replies, or nested replies.
-
#since_date ⇒ Date?
Start date in YYYY-MM-DD format.
-
#since_id ⇒ String?
Return Tweets newer than this Tweet ID.
-
#since_time ⇒ String?
Unix timestamp - return replies posted after this time.
-
#sort ⇒ Symbol, ...
Sort the selected replies before applying limit.
-
#source ⇒ String?
Match the source application.
-
#to_user ⇒ String?
Filter replies sent to a username.
-
#until_date ⇒ Date?
End date in YYYY-MM-DD format.
-
#until_time ⇒ String?
Unix timestamp - return replies posted before this time.
-
#url ⇒ String?
URL substring or domain filter.
-
#verified_only ⇒ Boolean?
Only return tweets from verified authors.
-
#within ⇒ String?
Set the radius for the near filter.
-
#within_time ⇒ String?
Match Tweets inside a recent time window.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, any_words: nil, blue_verified_only: nil, card_name: nil, cashtags: nil, conversation_id: nil, cursor: nil, exact_phrase: nil, exclude_original_author: nil, exclude_source: nil, exclude_words: nil, from_user: nil, geocode: nil, hashtags: nil, has_media_only: nil, include_original_post: nil, in_reply_to_tweet_id: nil, language: nil, limit: nil, max_depth: nil, max_faves: nil, max_id: nil, max_quotes: nil, max_replies: nil, max_retweets: nil, media_type: nil, mentioning: nil, min_bookmarks: nil, min_faves: nil, min_quotes: nil, min_replies: nil, min_retweets: nil, min_views: nil, mode: nil, native_retweets: nil, near: nil, news: nil, page_size: nil, quotes: nil, quotes_of_tweet_id: nil, replies: nil, retweets: nil, retweets_of_tweet_id: nil, safe: nil, scope: nil, since_date: nil, since_id: nil, since_time: nil, sort: nil, source: nil, to_user: nil, until_date: nil, until_time: nil, url: nil, verified_only: nil, within: nil, within_time: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see TweetGetRepliesParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, any_words: nil, blue_verified_only: nil, card_name: nil, cashtags: nil, conversation_id: nil, cursor: nil, exact_phrase: nil, exclude_original_author: nil, exclude_source: nil, exclude_words: nil, from_user: nil, geocode: nil, hashtags: nil, has_media_only: nil, include_original_post: nil, in_reply_to_tweet_id: nil, language: nil, limit: nil, max_depth: nil, max_faves: nil, max_id: nil, max_quotes: nil, max_replies: nil, max_retweets: nil, media_type: nil, mentioning: nil, min_bookmarks: nil, min_faves: nil, min_quotes: nil, min_replies: nil, min_retweets: nil, min_views: nil, mode: nil, native_retweets: nil, near: nil, news: nil, page_size: nil, quotes: nil, quotes_of_tweet_id: nil, replies: nil, retweets: nil, retweets_of_tweet_id: nil, safe: nil, scope: nil, since_date: nil, since_id: nil, since_time: nil, sort: nil, source: nil, to_user: nil, until_date: nil, until_time: nil, url: nil, verified_only: nil, within: nil, within_time: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see XTwitterScraper::Models::X::TweetGetRepliesParams for more details.
|
|
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 364
|
Instance Attribute Details
#any_words ⇒ String?
Words or quoted phrases where any one can match. Separate with spaces, commas, or lines.
25 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 25 optional :any_words, String |
#blue_verified_only ⇒ Boolean?
Only return tweets from Blue-verified authors.
31 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 31 optional :blue_verified_only, XTwitterScraper::Internal::Type::Boolean |
#card_name ⇒ String?
Match the Tweet card name.
37 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 37 optional :card_name, String |
#cashtags ⇒ String?
Cashtags separated by spaces, commas, or lines.
43 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 43 optional :cashtags, String |
#conversation_id ⇒ String?
Conversation ID filter.
49 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 49 optional :conversation_id, String |
#cursor ⇒ String?
Cursor from the previous response. Xquik cursors resume automatic coverage. Existing unprefixed cursors keep legacy standard behavior.
56 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 56 optional :cursor, String |
#exact_phrase ⇒ String?
Exact phrase to match.
62 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 62 optional :exact_phrase, String |
#exclude_original_author ⇒ Boolean?
Exclude replies written by the source-post author.
68 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 68 optional :exclude_original_author, XTwitterScraper::Internal::Type::Boolean |
#exclude_source ⇒ String?
Exclude a source application.
74 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 74 optional :exclude_source, String |
#exclude_words ⇒ String?
Words or quoted phrases to exclude. Separate with spaces, commas, or lines.
80 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 80 optional :exclude_words, String |
#from_user ⇒ String?
Filter by author username.
86 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 86 optional :from_user, String |
#geocode ⇒ String?
Match latitude, longitude, and radius.
92 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 92 optional :geocode, String |
#has_media_only ⇒ Boolean?
Only return replies containing media.
104 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 104 optional :has_media_only, XTwitterScraper::Internal::Type::Boolean |
#hashtags ⇒ String?
Hashtags separated by spaces, commas, or lines.
98 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 98 optional :hashtags, String |
#id ⇒ String
18 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 18 required :id, String |
#in_reply_to_tweet_id ⇒ String?
Only replies to this tweet ID.
116 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 116 optional :in_reply_to_tweet_id, String |
#include_original_post ⇒ Boolean?
Include the source post and count it toward limit.
110 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 110 optional :include_original_post, XTwitterScraper::Internal::Type::Boolean |
#language ⇒ String?
Language code filter, e.g. en or tr.
122 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 122 optional :language, String |
#limit ⇒ Integer?
With mode=complete, maximum combined direct and nested reply rows (1-25000, default 25000). Automatic pages accept 1-300. Standard pages accept 1-100. Prefer pageSize outside complete mode.
130 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 130 optional :limit, Integer |
#max_depth ⇒ Integer?
Maximum reply depth from the source post.
136 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 136 optional :max_depth, Integer |
#max_faves ⇒ Integer?
Maximum likes threshold. maxLikes is also accepted.
142 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 142 optional :max_faves, Integer |
#max_id ⇒ String?
Return Tweets older than this Tweet ID.
148 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 148 optional :max_id, String |
#max_quotes ⇒ Integer?
Maximum quotes threshold.
154 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 154 optional :max_quotes, Integer |
#max_replies ⇒ Integer?
Maximum replies threshold.
160 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 160 optional :max_replies, Integer |
#max_retweets ⇒ Integer?
Maximum retweets threshold.
166 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 166 optional :max_retweets, Integer |
#media_type ⇒ Symbol, ...
Filter by media type.
172 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 172 optional :media_type, enum: -> { XTwitterScraper::X::TweetGetRepliesParams::MediaType } |
#mentioning ⇒ String?
Filter tweets mentioning a username.
178 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 178 optional :mentioning, String |
#min_bookmarks ⇒ Integer?
Minimum bookmark count threshold.
184 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 184 optional :min_bookmarks, Integer |
#min_faves ⇒ Integer?
Minimum likes threshold. minLikes is also accepted.
190 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 190 optional :min_faves, Integer |
#min_quotes ⇒ Integer?
Minimum quote count threshold.
196 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 196 optional :min_quotes, Integer |
#min_replies ⇒ Integer?
Minimum replies threshold.
202 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 202 optional :min_replies, Integer |
#min_retweets ⇒ Integer?
Minimum retweets threshold.
208 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 208 optional :min_retweets, Integer |
#min_views ⇒ Integer?
Minimum view count threshold.
214 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 214 optional :min_views, Integer |
#mode ⇒ Symbol, ...
Optional advanced override. Omit mode for automatic maximum direct reply coverage with pagination. Standard keeps legacy pagination. Complete returns direct and nested replies with diagnostics, scope, depth, sorting, and original-post controls.
223 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 223 optional :mode, enum: -> { XTwitterScraper::X::TweetGetRepliesParams::Mode } |
#native_retweets ⇒ Boolean?
Only return native reposts.
229 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 229 optional :native_retweets, XTwitterScraper::Internal::Type::Boolean |
#near ⇒ String?
Match a place name.
235 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 235 optional :near, String |
#news ⇒ Boolean?
Only return news results.
241 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 241 optional :news, XTwitterScraper::Internal::Type::Boolean |
#page_size ⇒ Integer?
Automatic pages accept 1-300 Tweets. Standard pages keep 1-100. Default 20. Continue while has_next_page is true. Deprecated aliases remain accepted.
248 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 248 optional :page_size, Integer |
#quotes ⇒ Symbol, ...
Quote mode.
254 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 254 optional :quotes, enum: -> { XTwitterScraper::X::TweetGetRepliesParams::Quotes } |
#quotes_of_tweet_id ⇒ String?
Only quotes of this tweet ID.
260 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 260 optional :quotes_of_tweet_id, String |
#replies ⇒ Symbol, ...
Reply mode.
266 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 266 optional :replies, enum: -> { XTwitterScraper::X::TweetGetRepliesParams::Replies } |
#retweets ⇒ Symbol, ...
Retweet mode.
272 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 272 optional :retweets, enum: -> { XTwitterScraper::X::TweetGetRepliesParams::Retweets } |
#retweets_of_tweet_id ⇒ String?
Only retweets of this tweet ID.
278 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 278 optional :retweets_of_tweet_id, String |
#safe ⇒ Boolean?
Enable the safe-search filter.
284 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 284 optional :safe, XTwitterScraper::Internal::Type::Boolean |
#scope ⇒ Symbol, ...
Select all replies, direct replies, or nested replies.
290 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 290 optional :scope, enum: -> { XTwitterScraper::X::TweetGetRepliesParams::Scope } |
#since_date ⇒ Date?
Start date in YYYY-MM-DD format.
296 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 296 optional :since_date, Date |
#since_id ⇒ String?
Return Tweets newer than this Tweet ID.
302 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 302 optional :since_id, String |
#since_time ⇒ String?
Unix timestamp - return replies posted after this time
308 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 308 optional :since_time, String |
#sort ⇒ Symbol, ...
Sort the selected replies before applying limit.
314 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 314 optional :sort, enum: -> { XTwitterScraper::X::TweetGetRepliesParams::Sort } |
#source ⇒ String?
Match the source application.
320 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 320 optional :source, String |
#to_user ⇒ String?
Filter replies sent to a username.
326 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 326 optional :to_user, String |
#until_date ⇒ Date?
End date in YYYY-MM-DD format.
332 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 332 optional :until_date, Date |
#until_time ⇒ String?
Unix timestamp - return replies posted before this time
338 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 338 optional :until_time, String |
#url ⇒ String?
URL substring or domain filter.
344 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 344 optional :url, String |
#verified_only ⇒ Boolean?
Only return tweets from verified authors.
350 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 350 optional :verified_only, XTwitterScraper::Internal::Type::Boolean |
#within ⇒ String?
Set the radius for the near filter.
356 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 356 optional :within, String |
#within_time ⇒ String?
Match Tweets inside a recent time window.
362 |
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 362 optional :within_time, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb', line 495
|
Instance Method Details
#to_hash ⇒ {
375 |
# File 'sig/x_twitter_scraper/models/x/tweet_get_replies_params.rbs', line 375
def to_hash: -> {
|