Documentation
¶
Index ¶
- func SetFieldsParams(m map[string]string, flist ...Fields) map[string]string
- type Exclude
- type ExcludeList
- type Expansion
- type ExpansionList
- type Field
- type Fields
- type ListField
- type ListFieldList
- type MediaField
- type MediaFieldList
- type PlaceField
- type PlaceFieldList
- type PollField
- type PollFieldList
- type SpaceField
- type SpaceFieldList
- type State
- type TweetField
- type TweetFieldList
- type UserField
- type UserFieldList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExcludeList ¶
type ExcludeList []Exclude
func (ExcludeList) FieldsName ¶
func (el ExcludeList) FieldsName() string
func (ExcludeList) Values ¶
func (el ExcludeList) Values() []string
type Expansion ¶
type Expansion string
const ( ExpansionPinnedTweetID Expansion = "pinned_tweet_id" ExpansionAttachmentsPollIDs Expansion = "attachments.poll_ids" ExpansionAttachmentsMediaKeys Expansion = "attachments.media_keys" ExpansionAuthorID Expansion = "author_id" ExpansionEntitiesMentionsUsername Expansion = "entities.mentions.username" ExpansionGeoPlaceID Expansion = "geo.place_id" ExpansionInReplyToUserID Expansion = "in_reply_to_user_id" ExpansionReferencedTweetsID Expansion = "referenced_tweets.id" ExpansionReferencedTweetsIDAuthorID Expansion = "referenced_tweets.id.author_id" ExpansionInvitedUserIDs Expansion = "invited_user_ids" ExpansionSpeakerIDs Expansion = "speaker_ids" ExpansionCreatorID Expansion = "creator_id" ExpansionHostIDs Expansion = "host_ids" )
type ExpansionList ¶
type ExpansionList []Expansion
func (ExpansionList) FieldsName ¶
func (el ExpansionList) FieldsName() string
func (ExpansionList) Values ¶
func (el ExpansionList) Values() []string
type ListFieldList ¶
type ListFieldList []ListField
func (ListFieldList) FieldsName ¶
func (fl ListFieldList) FieldsName() string
func (ListFieldList) Values ¶
func (fl ListFieldList) Values() []string
type MediaField ¶
type MediaField string
const ( MediaFieldDurationMs MediaField = "duration_ms" MediaFieldHeight MediaField = "height" MediaFieldMediaKey MediaField = "media_key" MediaFieldPreviewImageUrl MediaField = "preview_image_url" MediaFieldType MediaField = "type" MediaFieldUrl MediaField = "url" MediaFieldWidth MediaField = "width" MediaFieldPublicMetrics MediaField = "public_metrics" MediaFieldNonPublicMetrics MediaField = "non_public_metrics" MediaFieldOrganicMetrics MediaField = "organic_metrics" MediaFieldPromotedMetrics MediaField = "promoted_metrics" MediaFieldAltText MediaField = "alt_text" MediaFieldVariants MediaField = "variants" )
func (MediaField) String ¶
func (f MediaField) String() string
type MediaFieldList ¶
type MediaFieldList []MediaField
func (MediaFieldList) FieldsName ¶
func (fl MediaFieldList) FieldsName() string
func (MediaFieldList) Values ¶
func (fl MediaFieldList) Values() []string
type PlaceField ¶
type PlaceField string
const ( PlaceFieldContainedWithin PlaceField = "contained_within" PlaceFieldCountry PlaceField = "country" PlaceFieldCountryCode PlaceField = "country_code" PlaceFieldFullName PlaceField = "full_name" PlaceFieldGeo PlaceField = "geo" PlaceFieldID PlaceField = "id" PlaceFieldName PlaceField = "name" PlaceFieldPlaceType PlaceField = "place_type" )
func (PlaceField) String ¶
func (f PlaceField) String() string
type PlaceFieldList ¶
type PlaceFieldList []PlaceField
func (PlaceFieldList) FieldsName ¶
func (fl PlaceFieldList) FieldsName() string
func (PlaceFieldList) Values ¶
func (fl PlaceFieldList) Values() []string
type PollFieldList ¶
type PollFieldList []PollField
func (PollFieldList) FieldsName ¶
func (fl PollFieldList) FieldsName() string
func (PollFieldList) Values ¶
func (fl PollFieldList) Values() []string
type SpaceField ¶
type SpaceField string
const ( SpaceFieldHostIDs SpaceField = "host_ids" SpaceFieldCreatedAt SpaceField = "created_at" SpaceFieldCreatorID SpaceField = "creator_id" SpaceFieldID SpaceField = "id" SpaceFieldLang SpaceField = "lang" SpaceFieldInvitedUserIDs SpaceField = "invited_user_ids" SpaceFieldParticipantCount SpaceField = "participant_count" SpaceFieldSpeakerIDs SpaceField = "speaker_ids" SpaceFieldStartedAt SpaceField = "started_at" SpaceFieldState SpaceField = "state" SpaceFieldTitle SpaceField = "title" SpaceFieldUpdatedAt SpaceField = "updated_at" SpaceFieldScheduledStart SpaceField = "scheduled_start" SpaceFieldIsTicketed SpaceField = "is_ticketed" )
func (SpaceField) String ¶
func (f SpaceField) String() string
type SpaceFieldList ¶
type SpaceFieldList []SpaceField
func (SpaceFieldList) FieldsName ¶
func (fl SpaceFieldList) FieldsName() string
func (SpaceFieldList) Values ¶
func (fl SpaceFieldList) Values() []string
type TweetField ¶
type TweetField string
const ( TweetFieldAttachments TweetField = "attachments" TweetFieldAuthorID TweetField = "author_id" TweetFieldContextAnnotations TweetField = "context_annotations" TweetFieldConversationID TweetField = "conversation_id" TweetFieldCreatedAt TweetField = "created_at" TweetFieldEntities TweetField = "entities" TweetFieldGeo TweetField = "geo" TweetFieldID TweetField = "id" TweetFieldInReplyToUserID TweetField = "in_reply_to_user_id" TweetFieldLang TweetField = "lang" TweetFieldNonPublicMetrics TweetField = "non_public_metrics" TweetFieldPublicMetrics TweetField = "public_metrics" TweetFieldOrganicMetrics TweetField = "organic_metrics" TweetFieldPromotedMetrics TweetField = "promoted_metrics" TweetFieldPossiblySensitive TweetField = "possibly_sensitive" TweetFieldReferencedTweets TweetField = "referenced_tweets" TweetFieldReplySettings TweetField = "reply_settings" TweetFieldSource TweetField = "source" TweetFieldText TweetField = "text" TweetFieldWithheld TweetField = "withheld" TweetFieldNoteTweet TweetField = "note_tweet" )
func (TweetField) String ¶
func (f TweetField) String() string
type TweetFieldList ¶
type TweetFieldList []TweetField
func (TweetFieldList) FieldsName ¶
func (fl TweetFieldList) FieldsName() string
func (TweetFieldList) Values ¶
func (fl TweetFieldList) Values() []string
type UserField ¶
type UserField string
const ( UserFieldCreatedAt UserField = "created_at" UserFieldDescription UserField = "description" UserFieldEntities UserField = "entities" UserFieldID UserField = "id" UserFieldLocation UserField = "location" UserFieldName UserField = "name" UserFieldPinnedTweetID UserField = "pinned_tweet_id" UserFieldProfileImageUrl UserField = "profile_image_url" UserFieldProtected UserField = "protected" UserFieldPublicMetrics UserField = "public_metrics" UserFieldUrl UserField = "url" UserFieldUsername UserField = "username" UserFieldVerified UserField = "verified" UserFieldWithheld UserField = "withheld" )
type UserFieldList ¶
type UserFieldList []UserField
func (UserFieldList) FieldsName ¶
func (fl UserFieldList) FieldsName() string
func (UserFieldList) Values ¶
func (fl UserFieldList) Values() []string
Click to show internal directories.
Click to hide internal directories.