Module: XTwitterScraper::Models::EventType

Extended by:
Internal::Type::Enum
Defined in:
lib/x_twitter_scraper/models/event_type.rb,
sig/x_twitter_scraper/models/event_type.rbs

Overview

Type of monitor event fired when account activity occurs.

Constant Summary collapse

TWEET_NEW =

Returns:

  • (:"tweet.new")
:"tweet.new"
TWEET_REPLY =

Returns:

  • (:"tweet.reply")
:"tweet.reply"
TWEET_RETWEET =

Returns:

  • (:"tweet.retweet")
:"tweet.retweet"
TWEET_QUOTE =

Returns:

  • (:"tweet.quote")
:"tweet.quote"
TWEET_MEDIA =

Returns:

  • (:"tweet.media")
:"tweet.media"
:"tweet.link"
TWEET_POLL =

Returns:

  • (:"tweet.poll")
:"tweet.poll"
TWEET_MENTION =

Returns:

  • (:"tweet.mention")
:"tweet.mention"
TWEET_HASHTAG =

Returns:

  • (:"tweet.hashtag")
:"tweet.hashtag"
TWEET_LONGFORM =

Returns:

  • (:"tweet.longform")
:"tweet.longform"
PROFILE_AVATAR_CHANGED =

Returns:

  • (:"profile.avatar.changed")
:"profile.avatar.changed"
PROFILE_BANNER_CHANGED =

Returns:

  • (:"profile.banner.changed")
:"profile.banner.changed"
PROFILE_NAME_CHANGED =

Returns:

  • (:"profile.name.changed")
:"profile.name.changed"
PROFILE_USERNAME_CHANGED =

Returns:

  • (:"profile.username.changed")
:"profile.username.changed"
PROFILE_BIO_CHANGED =

Returns:

  • (:"profile.bio.changed")
:"profile.bio.changed"
PROFILE_LOCATION_CHANGED =

Returns:

  • (:"profile.location.changed")
:"profile.location.changed"
PROFILE_URL_CHANGED =

Returns:

  • (:"profile.url.changed")
:"profile.url.changed"
PROFILE_VERIFIED_CHANGED =

Returns:

  • (:"profile.verified.changed")
:"profile.verified.changed"
PROFILE_PROTECTED_CHANGED =

Returns:

  • (:"profile.protected.changed")
:"profile.protected.changed"
PROFILE_PINNED_TWEET_CHANGED =

Returns:

  • (:"profile.pinned_tweet.changed")
:"profile.pinned_tweet.changed"
PROFILE_UNAVAILABLE_CHANGED =

Returns:

  • (:"profile.unavailable.changed")
:"profile.unavailable.changed"

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/x_twitter_scraper/models/event_type.rb', line 31

Instance Method Details

#self?.values::Array[XTwitterScraper::Models::event_type]

Returns:

  • (::Array[XTwitterScraper::Models::event_type])


51
# File 'sig/x_twitter_scraper/models/event_type.rbs', line 51

def self?.values: -> ::Array[XTwitterScraper::Models::event_type]