Documentation ¶
Overview ¶
Package twitterpb is a generated protocol buffer package.
It is generated from these files:
twitter/archive.proto twitter/dm.proto twitter/entity.proto twitter/list.proto twitter/tweet.proto twitter/user.proto
It has these top-level messages:
Archive Target DirectMessageData DirectMessageCreate DirectMessageEvent Url Hashtag UserMention MediaSize MediaSizes Variant VideoInfo EntityMedia Entities List Place Coordinates ExtendedTweet Tweet User
Index ¶
- type Archive
- func (*Archive) Descriptor() ([]byte, []int)
- func (m *Archive) GetDirectMessages() []*DirectMessageEvent
- func (m *Archive) GetFavorites() []*Tweet
- func (m *Archive) GetFollowers() []*User
- func (m *Archive) GetFriends() []*User
- func (m *Archive) GetLists() []*List
- func (m *Archive) GetTimeline() []*Tweet
- func (*Archive) ProtoMessage()
- func (m *Archive) Reset()
- func (m *Archive) String() string
- type Coordinates
- type DirectMessageCreate
- func (*DirectMessageCreate) Descriptor() ([]byte, []int)
- func (m *DirectMessageCreate) GetMessageData() *DirectMessageData
- func (m *DirectMessageCreate) GetSenderId() string
- func (m *DirectMessageCreate) GetSourceAppId() string
- func (m *DirectMessageCreate) GetTarget() *Target
- func (*DirectMessageCreate) ProtoMessage()
- func (m *DirectMessageCreate) Reset()
- func (m *DirectMessageCreate) String() string
- type DirectMessageData
- type DirectMessageEvent
- func (*DirectMessageEvent) Descriptor() ([]byte, []int)
- func (m *DirectMessageEvent) GetCreatedTimestamp() string
- func (m *DirectMessageEvent) GetId() string
- func (m *DirectMessageEvent) GetMessageCreate() *DirectMessageCreate
- func (m *DirectMessageEvent) GetType() string
- func (*DirectMessageEvent) ProtoMessage()
- func (m *DirectMessageEvent) Reset()
- func (m *DirectMessageEvent) String() string
- type Entities
- func (*Entities) Descriptor() ([]byte, []int)
- func (m *Entities) GetHashtags() []*Hashtag
- func (m *Entities) GetMedia() []*EntityMedia
- func (m *Entities) GetUrl() *Url
- func (m *Entities) GetUrls() []*Url
- func (m *Entities) GetUserMentions() []*UserMention
- func (*Entities) ProtoMessage()
- func (m *Entities) Reset()
- func (m *Entities) String() string
- type EntityMedia
- func (*EntityMedia) Descriptor() ([]byte, []int)
- func (m *EntityMedia) GetDisplayUrl() string
- func (m *EntityMedia) GetExpandedUrl() string
- func (m *EntityMedia) GetExtAltText() string
- func (m *EntityMedia) GetId() int64
- func (m *EntityMedia) GetIndices() []int64
- func (m *EntityMedia) GetMediaUrl() string
- func (m *EntityMedia) GetMediaUrlHttps() string
- func (m *EntityMedia) GetSizes() *MediaSizes
- func (m *EntityMedia) GetSourceStatusId() int64
- func (m *EntityMedia) GetType() string
- func (m *EntityMedia) GetUrl() string
- func (m *EntityMedia) GetVideoInfo() *VideoInfo
- func (*EntityMedia) ProtoMessage()
- func (m *EntityMedia) Reset()
- func (m *EntityMedia) String() string
- type ExtendedTweet
- type Hashtag
- type List
- func (*List) Descriptor() ([]byte, []int)
- func (m *List) GetCreatedAt() string
- func (m *List) GetDescription() string
- func (m *List) GetFollowing() bool
- func (m *List) GetFullName() string
- func (m *List) GetId() int64
- func (m *List) GetMemberCount() int64
- func (m *List) GetMembers() []*User
- func (m *List) GetMode() string
- func (m *List) GetName() string
- func (m *List) GetSlug() string
- func (m *List) GetSubscriberCount() int64
- func (m *List) GetUri() string
- func (m *List) GetUser() *User
- func (*List) ProtoMessage()
- func (m *List) Reset()
- func (m *List) String() string
- type MediaSize
- type MediaSizes
- func (*MediaSizes) Descriptor() ([]byte, []int)
- func (m *MediaSizes) GetLarge() *MediaSize
- func (m *MediaSizes) GetMedium() *MediaSize
- func (m *MediaSizes) GetSmall() *MediaSize
- func (m *MediaSizes) GetThumb() *MediaSize
- func (*MediaSizes) ProtoMessage()
- func (m *MediaSizes) Reset()
- func (m *MediaSizes) String() string
- type Place
- type Target
- type Tweet
- func (*Tweet) Descriptor() ([]byte, []int)
- func (m *Tweet) GetContributors() []int64
- func (m *Tweet) GetCoordinates() *Coordinates
- func (m *Tweet) GetCreatedAt() string
- func (m *Tweet) GetDisplayTextRange() []int32
- func (m *Tweet) GetEntities() *Entities
- func (m *Tweet) GetExtendedEntities() *Entities
- func (m *Tweet) GetExtendedTweet() *ExtendedTweet
- func (m *Tweet) GetFavoriteCount() int32
- func (m *Tweet) GetFavorited() bool
- func (m *Tweet) GetFilterLevel() string
- func (m *Tweet) GetFullText() string
- func (m *Tweet) GetHasExtendedProfile() bool
- func (m *Tweet) GetId() int64
- func (m *Tweet) GetInReplyToScreenName() string
- func (m *Tweet) GetInReplyToStatusId() int64
- func (m *Tweet) GetInReplyToUserId() int64
- func (m *Tweet) GetIsTranslationEnabled() bool
- func (m *Tweet) GetLang() string
- func (m *Tweet) GetPlace() *Place
- func (m *Tweet) GetPossiblySensitive() bool
- func (m *Tweet) GetPossiblySensitiveAppealable() bool
- func (m *Tweet) GetQuotedStatus() *Tweet
- func (m *Tweet) GetQuotedStatusId() int64
- func (m *Tweet) GetRetweetCount() int32
- func (m *Tweet) GetRetweeted() bool
- func (m *Tweet) GetRetweetedStatus() *Tweet
- func (m *Tweet) GetSource() string
- func (m *Tweet) GetText() string
- func (m *Tweet) GetUser() *User
- func (m *Tweet) GetWithheldCopyright() bool
- func (m *Tweet) GetWithheldInCountries() []string
- func (m *Tweet) GetWithheldScope() string
- func (*Tweet) ProtoMessage()
- func (m *Tweet) Reset()
- func (m *Tweet) String() string
- type Url
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetContributorsEnabled() bool
- func (m *User) GetCreatedAt() string
- func (m *User) GetDefaultProfile() bool
- func (m *User) GetDefaultProfileImage() bool
- func (m *User) GetDescription() string
- func (m *User) GetEmail() string
- func (m *User) GetEntities() *Entities
- func (m *User) GetFavouritesCount() int64
- func (m *User) GetFollowRequestSent() bool
- func (m *User) GetFollowersCount() int64
- func (m *User) GetFollowing() bool
- func (m *User) GetFriendsCount() int64
- func (m *User) GetGeoEnabled() bool
- func (m *User) GetHasExtendedProfile() bool
- func (m *User) GetId() int64
- func (m *User) GetIsTranslationEnabled() bool
- func (m *User) GetIsTranslator() bool
- func (m *User) GetLang() string
- func (m *User) GetListedCount() int64
- func (m *User) GetLocation() string
- func (m *User) GetName() string
- func (m *User) GetNotifications() bool
- func (m *User) GetProfileBackgroundColor() string
- func (m *User) GetProfileBackgroundImageUrl() string
- func (m *User) GetProfileBackgroundImageUrlHttps() string
- func (m *User) GetProfileBackgroundTile() bool
- func (m *User) GetProfileBannerUrl() string
- func (m *User) GetProfileImageUrl() string
- func (m *User) GetProfileImageUrlHttps() string
- func (m *User) GetProfileLinkColor() string
- func (m *User) GetProfileSidebarBorderColor() string
- func (m *User) GetProfileSidebarFillColor() string
- func (m *User) GetProfileTextColor() string
- func (m *User) GetProfileUseBackgroundImage() bool
- func (m *User) GetProtected() bool
- func (m *User) GetScreenName() string
- func (m *User) GetShowAllInlineMedia() bool
- func (m *User) GetStatusesCount() int64
- func (m *User) GetTimeZone() string
- func (m *User) GetUrl() string
- func (m *User) GetUtcOffset() int64
- func (m *User) GetVerified() bool
- func (m *User) GetWithheldInCountries() []string
- func (m *User) GetWithheldScope() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- type UserMention
- func (*UserMention) Descriptor() ([]byte, []int)
- func (m *UserMention) GetId() int64
- func (m *UserMention) GetIndices() []int64
- func (m *UserMention) GetName() string
- func (m *UserMention) GetScreenName() string
- func (*UserMention) ProtoMessage()
- func (m *UserMention) Reset()
- func (m *UserMention) String() string
- type Variant
- type VideoInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archive ¶
type Archive struct { Lists []*List `protobuf:"bytes,1,rep,name=lists" json:"lists,omitempty"` Friends []*User `protobuf:"bytes,2,rep,name=friends" json:"friends,omitempty"` Followers []*User `protobuf:"bytes,3,rep,name=followers" json:"followers,omitempty"` Timeline []*Tweet `protobuf:"bytes,4,rep,name=timeline" json:"timeline,omitempty"` Favorites []*Tweet `protobuf:"bytes,5,rep,name=favorites" json:"favorites,omitempty"` DirectMessages []*DirectMessageEvent `protobuf:"bytes,6,rep,name=direct_messages,json=directMessages" json:"direct_messages,omitempty"` }
func (*Archive) Descriptor ¶
func (*Archive) GetDirectMessages ¶
func (m *Archive) GetDirectMessages() []*DirectMessageEvent
func (*Archive) GetFavorites ¶
func (*Archive) GetFollowers ¶
func (*Archive) GetFriends ¶
func (*Archive) GetTimeline ¶
func (*Archive) ProtoMessage ¶
func (*Archive) ProtoMessage()
type Coordinates ¶
type Coordinates struct { }
func (*Coordinates) Descriptor ¶
func (*Coordinates) Descriptor() ([]byte, []int)
func (*Coordinates) ProtoMessage ¶
func (*Coordinates) ProtoMessage()
func (*Coordinates) Reset ¶
func (m *Coordinates) Reset()
func (*Coordinates) String ¶
func (m *Coordinates) String() string
type DirectMessageCreate ¶
type DirectMessageCreate struct { Target *Target `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"` SenderId string `protobuf:"bytes,2,opt,name=sender_id,json=senderId" json:"sender_id,omitempty"` SourceAppId string `protobuf:"bytes,3,opt,name=source_app_id,json=sourceAppId" json:"source_app_id,omitempty"` MessageData *DirectMessageData `protobuf:"bytes,4,opt,name=message_data,json=messageData" json:"message_data,omitempty"` }
func (*DirectMessageCreate) Descriptor ¶
func (*DirectMessageCreate) Descriptor() ([]byte, []int)
func (*DirectMessageCreate) GetMessageData ¶
func (m *DirectMessageCreate) GetMessageData() *DirectMessageData
func (*DirectMessageCreate) GetSenderId ¶
func (m *DirectMessageCreate) GetSenderId() string
func (*DirectMessageCreate) GetSourceAppId ¶
func (m *DirectMessageCreate) GetSourceAppId() string
func (*DirectMessageCreate) GetTarget ¶
func (m *DirectMessageCreate) GetTarget() *Target
func (*DirectMessageCreate) ProtoMessage ¶
func (*DirectMessageCreate) ProtoMessage()
func (*DirectMessageCreate) Reset ¶
func (m *DirectMessageCreate) Reset()
func (*DirectMessageCreate) String ¶
func (m *DirectMessageCreate) String() string
type DirectMessageData ¶
type DirectMessageData struct { Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` Entities *Entities `protobuf:"bytes,2,opt,name=entities" json:"entities,omitempty"` }
func (*DirectMessageData) Descriptor ¶
func (*DirectMessageData) Descriptor() ([]byte, []int)
func (*DirectMessageData) GetEntities ¶
func (m *DirectMessageData) GetEntities() *Entities
func (*DirectMessageData) GetText ¶
func (m *DirectMessageData) GetText() string
func (*DirectMessageData) ProtoMessage ¶
func (*DirectMessageData) ProtoMessage()
func (*DirectMessageData) Reset ¶
func (m *DirectMessageData) Reset()
func (*DirectMessageData) String ¶
func (m *DirectMessageData) String() string
type DirectMessageEvent ¶
type DirectMessageEvent struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` CreatedTimestamp string `protobuf:"bytes,3,opt,name=created_timestamp,json=createdTimestamp" json:"created_timestamp,omitempty"` MessageCreate *DirectMessageCreate `protobuf:"bytes,4,opt,name=message_create,json=messageCreate" json:"message_create,omitempty"` }
func (*DirectMessageEvent) Descriptor ¶
func (*DirectMessageEvent) Descriptor() ([]byte, []int)
func (*DirectMessageEvent) GetCreatedTimestamp ¶
func (m *DirectMessageEvent) GetCreatedTimestamp() string
func (*DirectMessageEvent) GetId ¶
func (m *DirectMessageEvent) GetId() string
func (*DirectMessageEvent) GetMessageCreate ¶
func (m *DirectMessageEvent) GetMessageCreate() *DirectMessageCreate
func (*DirectMessageEvent) GetType ¶
func (m *DirectMessageEvent) GetType() string
func (*DirectMessageEvent) ProtoMessage ¶
func (*DirectMessageEvent) ProtoMessage()
func (*DirectMessageEvent) Reset ¶
func (m *DirectMessageEvent) Reset()
func (*DirectMessageEvent) String ¶
func (m *DirectMessageEvent) String() string
type Entities ¶
type Entities struct { Urls []*Url `protobuf:"bytes,1,rep,name=urls" json:"urls,omitempty"` Url *Url `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"` UserMentions []*UserMention `protobuf:"bytes,4,rep,name=user_mentions,json=userMentions" json:"user_mentions,omitempty"` Media []*EntityMedia `protobuf:"bytes,5,rep,name=media" json:"media,omitempty"` }
func (*Entities) Descriptor ¶
func (*Entities) GetHashtags ¶
func (*Entities) GetMedia ¶
func (m *Entities) GetMedia() []*EntityMedia
func (*Entities) GetUserMentions ¶
func (m *Entities) GetUserMentions() []*UserMention
func (*Entities) ProtoMessage ¶
func (*Entities) ProtoMessage()
type EntityMedia ¶
type EntityMedia struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` MediaUrl string `protobuf:"bytes,2,opt,name=media_url,json=mediaUrl" json:"media_url,omitempty"` MediaUrlHttps string `protobuf:"bytes,3,opt,name=media_url_https,json=mediaUrlHttps" json:"media_url_https,omitempty"` Url string `protobuf:"bytes,4,opt,name=url" json:"url,omitempty"` DisplayUrl string `protobuf:"bytes,5,opt,name=display_url,json=displayUrl" json:"display_url,omitempty"` ExpandedUrl string `protobuf:"bytes,6,opt,name=expanded_url,json=expandedUrl" json:"expanded_url,omitempty"` Sizes *MediaSizes `protobuf:"bytes,7,opt,name=sizes" json:"sizes,omitempty"` SourceStatusId int64 `protobuf:"varint,8,opt,name=source_status_id,json=sourceStatusId" json:"source_status_id,omitempty"` Type string `protobuf:"bytes,9,opt,name=type" json:"type,omitempty"` Indices []int64 `protobuf:"varint,10,rep,packed,name=indices" json:"indices,omitempty"` VideoInfo *VideoInfo `protobuf:"bytes,11,opt,name=video_info,json=videoInfo" json:"video_info,omitempty"` ExtAltText string `protobuf:"bytes,12,opt,name=ext_alt_text,json=extAltText" json:"ext_alt_text,omitempty"` }
func (*EntityMedia) Descriptor ¶
func (*EntityMedia) Descriptor() ([]byte, []int)
func (*EntityMedia) GetDisplayUrl ¶
func (m *EntityMedia) GetDisplayUrl() string
func (*EntityMedia) GetExpandedUrl ¶
func (m *EntityMedia) GetExpandedUrl() string
func (*EntityMedia) GetExtAltText ¶
func (m *EntityMedia) GetExtAltText() string
func (*EntityMedia) GetId ¶
func (m *EntityMedia) GetId() int64
func (*EntityMedia) GetIndices ¶
func (m *EntityMedia) GetIndices() []int64
func (*EntityMedia) GetMediaUrl ¶
func (m *EntityMedia) GetMediaUrl() string
func (*EntityMedia) GetMediaUrlHttps ¶
func (m *EntityMedia) GetMediaUrlHttps() string
func (*EntityMedia) GetSizes ¶
func (m *EntityMedia) GetSizes() *MediaSizes
func (*EntityMedia) GetSourceStatusId ¶
func (m *EntityMedia) GetSourceStatusId() int64
func (*EntityMedia) GetType ¶
func (m *EntityMedia) GetType() string
func (*EntityMedia) GetUrl ¶
func (m *EntityMedia) GetUrl() string
func (*EntityMedia) GetVideoInfo ¶
func (m *EntityMedia) GetVideoInfo() *VideoInfo
func (*EntityMedia) ProtoMessage ¶
func (*EntityMedia) ProtoMessage()
func (*EntityMedia) Reset ¶
func (m *EntityMedia) Reset()
func (*EntityMedia) String ¶
func (m *EntityMedia) String() string
type ExtendedTweet ¶
type ExtendedTweet struct { }
func (*ExtendedTweet) Descriptor ¶
func (*ExtendedTweet) Descriptor() ([]byte, []int)
func (*ExtendedTweet) ProtoMessage ¶
func (*ExtendedTweet) ProtoMessage()
func (*ExtendedTweet) Reset ¶
func (m *ExtendedTweet) Reset()
func (*ExtendedTweet) String ¶
func (m *ExtendedTweet) String() string
type Hashtag ¶
type Hashtag struct { Indices []int64 `protobuf:"varint,1,rep,packed,name=indices" json:"indices,omitempty"` Text string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` }
func (*Hashtag) Descriptor ¶
func (*Hashtag) GetIndices ¶
func (*Hashtag) ProtoMessage ¶
func (*Hashtag) ProtoMessage()
type List ¶
type List struct { Slug string `protobuf:"bytes,1,opt,name=slug" json:"slug,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Uri string `protobuf:"bytes,3,opt,name=uri" json:"uri,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt" json:"created_at,omitempty"` Id int64 `protobuf:"varint,5,opt,name=id" json:"id,omitempty"` SubscriberCount int64 `protobuf:"varint,6,opt,name=subscriber_count,json=subscriberCount" json:"subscriber_count,omitempty"` MemberCount int64 `protobuf:"varint,7,opt,name=member_count,json=memberCount" json:"member_count,omitempty"` Mode string `protobuf:"bytes,8,opt,name=mode" json:"mode,omitempty"` FullName string `protobuf:"bytes,9,opt,name=full_name,json=fullName" json:"full_name,omitempty"` Description string `protobuf:"bytes,10,opt,name=description" json:"description,omitempty"` User *User `protobuf:"bytes,11,opt,name=user" json:"user,omitempty"` Following bool `protobuf:"varint,12,opt,name=following" json:"following,omitempty"` Members []*User `protobuf:"bytes,13,rep,name=members" json:"members,omitempty"` }
func (*List) Descriptor ¶
func (*List) GetCreatedAt ¶
func (*List) GetDescription ¶
func (*List) GetFollowing ¶
func (*List) GetFullName ¶
func (*List) GetMemberCount ¶
func (*List) GetMembers ¶
func (*List) GetSubscriberCount ¶
func (*List) ProtoMessage ¶
func (*List) ProtoMessage()
type MediaSize ¶
type MediaSize struct { W int32 `protobuf:"varint,1,opt,name=w" json:"w,omitempty"` H int32 `protobuf:"varint,2,opt,name=h" json:"h,omitempty"` Resize string `protobuf:"bytes,3,opt,name=resize" json:"resize,omitempty"` }
func (*MediaSize) Descriptor ¶
func (*MediaSize) ProtoMessage ¶
func (*MediaSize) ProtoMessage()
type MediaSizes ¶
type MediaSizes struct { Medium *MediaSize `protobuf:"bytes,1,opt,name=medium" json:"medium,omitempty"` Thumb *MediaSize `protobuf:"bytes,2,opt,name=thumb" json:"thumb,omitempty"` Small *MediaSize `protobuf:"bytes,3,opt,name=small" json:"small,omitempty"` Large *MediaSize `protobuf:"bytes,4,opt,name=large" json:"large,omitempty"` }
func (*MediaSizes) Descriptor ¶
func (*MediaSizes) Descriptor() ([]byte, []int)
func (*MediaSizes) GetLarge ¶
func (m *MediaSizes) GetLarge() *MediaSize
func (*MediaSizes) GetMedium ¶
func (m *MediaSizes) GetMedium() *MediaSize
func (*MediaSizes) GetSmall ¶
func (m *MediaSizes) GetSmall() *MediaSize
func (*MediaSizes) GetThumb ¶
func (m *MediaSizes) GetThumb() *MediaSize
func (*MediaSizes) ProtoMessage ¶
func (*MediaSizes) ProtoMessage()
func (*MediaSizes) Reset ¶
func (m *MediaSizes) Reset()
func (*MediaSizes) String ¶
func (m *MediaSizes) String() string
type Place ¶
type Place struct { }
func (*Place) Descriptor ¶
func (*Place) ProtoMessage ¶
func (*Place) ProtoMessage()
type Target ¶
type Target struct {
RecipientId string `protobuf:"bytes,1,opt,name=recipient_id,json=recipientId" json:"recipient_id,omitempty"`
}
func (*Target) Descriptor ¶
func (*Target) GetRecipientId ¶
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
type Tweet ¶
type Tweet struct { Contributors []int64 `protobuf:"varint,1,rep,packed,name=contributors" json:"contributors,omitempty"` Coordinates *Coordinates `protobuf:"bytes,2,opt,name=coordinates" json:"coordinates,omitempty"` CreatedAt string `protobuf:"bytes,3,opt,name=created_at,json=createdAt" json:"created_at,omitempty"` DisplayTextRange []int32 `protobuf:"varint,4,rep,packed,name=display_text_range,json=displayTextRange" json:"display_text_range,omitempty"` Entities *Entities `protobuf:"bytes,5,opt,name=entities" json:"entities,omitempty"` ExtendedEntities *Entities `protobuf:"bytes,6,opt,name=extended_entities,json=extendedEntities" json:"extended_entities,omitempty"` ExtendedTweet *ExtendedTweet `protobuf:"bytes,7,opt,name=extended_tweet,json=extendedTweet" json:"extended_tweet,omitempty"` FavoriteCount int32 `protobuf:"varint,8,opt,name=favorite_count,json=favoriteCount" json:"favorite_count,omitempty"` Favorited bool `protobuf:"varint,9,opt,name=favorited" json:"favorited,omitempty"` FilterLevel string `protobuf:"bytes,10,opt,name=filter_level,json=filterLevel" json:"filter_level,omitempty"` FullText string `protobuf:"bytes,11,opt,name=full_text,json=fullText" json:"full_text,omitempty"` HasExtendedProfile bool `protobuf:"varint,12,opt,name=has_extended_profile,json=hasExtendedProfile" json:"has_extended_profile,omitempty"` Id int64 `protobuf:"varint,13,opt,name=id" json:"id,omitempty"` InReplyToScreenName string `protobuf:"bytes,14,opt,name=in_reply_to_screen_name,json=inReplyToScreenName" json:"in_reply_to_screen_name,omitempty"` InReplyToStatusId int64 `protobuf:"varint,15,opt,name=in_reply_to_status_id,json=inReplyToStatusId" json:"in_reply_to_status_id,omitempty"` InReplyToUserId int64 `protobuf:"varint,16,opt,name=in_reply_to_user_id,json=inReplyToUserId" json:"in_reply_to_user_id,omitempty"` Lang string `protobuf:"bytes,17,opt,name=lang" json:"lang,omitempty"` IsTranslationEnabled bool `protobuf:"varint,18,opt,name=is_translation_enabled,json=isTranslationEnabled" json:"is_translation_enabled,omitempty"` Place *Place `protobuf:"bytes,19,opt,name=place" json:"place,omitempty"` QuotedStatusId int64 `protobuf:"varint,20,opt,name=quoted_status_id,json=quotedStatusId" json:"quoted_status_id,omitempty"` QuotedStatus *Tweet `protobuf:"bytes,21,opt,name=quoted_status,json=quotedStatus" json:"quoted_status,omitempty"` PossiblySensitive bool `protobuf:"varint,22,opt,name=possibly_sensitive,json=possiblySensitive" json:"possibly_sensitive,omitempty"` PossiblySensitiveAppealable bool `` /* 139-byte string literal not displayed */ RetweetCount int32 `protobuf:"varint,24,opt,name=retweet_count,json=retweetCount" json:"retweet_count,omitempty"` Retweeted bool `protobuf:"varint,25,opt,name=retweeted" json:"retweeted,omitempty"` RetweetedStatus *Tweet `protobuf:"bytes,26,opt,name=retweeted_status,json=retweetedStatus" json:"retweeted_status,omitempty"` Source string `protobuf:"bytes,27,opt,name=source" json:"source,omitempty"` // map[string]interface{} scopes = 28; Text string `protobuf:"bytes,29,opt,name=text" json:"text,omitempty"` User *User `protobuf:"bytes,30,opt,name=user" json:"user,omitempty"` WithheldCopyright bool `protobuf:"varint,31,opt,name=withheld_copyright,json=withheldCopyright" json:"withheld_copyright,omitempty"` WithheldInCountries []string `protobuf:"bytes,32,rep,name=withheld_in_countries,json=withheldInCountries" json:"withheld_in_countries,omitempty"` WithheldScope string `protobuf:"bytes,33,opt,name=withheld_scope,json=withheldScope" json:"withheld_scope,omitempty"` }
func (*Tweet) Descriptor ¶
func (*Tweet) GetContributors ¶
func (*Tweet) GetCoordinates ¶
func (m *Tweet) GetCoordinates() *Coordinates
func (*Tweet) GetCreatedAt ¶
func (*Tweet) GetDisplayTextRange ¶
func (*Tweet) GetEntities ¶
func (*Tweet) GetExtendedEntities ¶
func (*Tweet) GetExtendedTweet ¶
func (m *Tweet) GetExtendedTweet() *ExtendedTweet
func (*Tweet) GetFavoriteCount ¶
func (*Tweet) GetFavorited ¶
func (*Tweet) GetFilterLevel ¶
func (*Tweet) GetFullText ¶
func (*Tweet) GetHasExtendedProfile ¶
func (*Tweet) GetInReplyToScreenName ¶
func (*Tweet) GetInReplyToStatusId ¶
func (*Tweet) GetInReplyToUserId ¶
func (*Tweet) GetIsTranslationEnabled ¶
func (*Tweet) GetPossiblySensitive ¶
func (*Tweet) GetPossiblySensitiveAppealable ¶
func (*Tweet) GetQuotedStatus ¶
func (*Tweet) GetQuotedStatusId ¶
func (*Tweet) GetRetweetCount ¶
func (*Tweet) GetRetweeted ¶
func (*Tweet) GetRetweetedStatus ¶
func (*Tweet) GetWithheldCopyright ¶
func (*Tweet) GetWithheldInCountries ¶
func (*Tweet) GetWithheldScope ¶
func (*Tweet) ProtoMessage ¶
func (*Tweet) ProtoMessage()
type Url ¶
type Url struct { Indices []int64 `protobuf:"varint,1,rep,packed,name=indices" json:"indices,omitempty"` Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` DisplayUrl string `protobuf:"bytes,3,opt,name=display_url,json=displayUrl" json:"display_url,omitempty"` ExpandedUrl string `protobuf:"bytes,4,opt,name=expanded_url,json=expandedUrl" json:"expanded_url,omitempty"` }
func (*Url) Descriptor ¶
func (*Url) GetDisplayUrl ¶
func (*Url) GetExpandedUrl ¶
func (*Url) GetIndices ¶
func (*Url) ProtoMessage ¶
func (*Url) ProtoMessage()
type User ¶
type User struct { ContributorsEnabled bool `protobuf:"varint,1,opt,name=contributors_enabled,json=contributorsEnabled" json:"contributors_enabled,omitempty"` CreatedAt string `protobuf:"bytes,2,opt,name=created_at,json=createdAt" json:"created_at,omitempty"` DefaultProfile bool `protobuf:"varint,3,opt,name=default_profile,json=defaultProfile" json:"default_profile,omitempty"` DefaultProfileImage bool `protobuf:"varint,4,opt,name=default_profile_image,json=defaultProfileImage" json:"default_profile_image,omitempty"` Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` Email string `protobuf:"bytes,6,opt,name=email" json:"email,omitempty"` Entities *Entities `protobuf:"bytes,7,opt,name=entities" json:"entities,omitempty"` FavouritesCount int64 `protobuf:"varint,8,opt,name=favourites_count,json=favouritesCount" json:"favourites_count,omitempty"` FollowRequestSent bool `protobuf:"varint,9,opt,name=follow_request_sent,json=followRequestSent" json:"follow_request_sent,omitempty"` FollowersCount int64 `protobuf:"varint,10,opt,name=followers_count,json=followersCount" json:"followers_count,omitempty"` Following bool `protobuf:"varint,11,opt,name=following" json:"following,omitempty"` FriendsCount int64 `protobuf:"varint,12,opt,name=friends_count,json=friendsCount" json:"friends_count,omitempty"` GeoEnabled bool `protobuf:"varint,13,opt,name=geo_enabled,json=geoEnabled" json:"geo_enabled,omitempty"` HasExtendedProfile bool `protobuf:"varint,14,opt,name=has_extended_profile,json=hasExtendedProfile" json:"has_extended_profile,omitempty"` Id int64 `protobuf:"varint,15,opt,name=id" json:"id,omitempty"` IsTranslator bool `protobuf:"varint,17,opt,name=is_translator,json=isTranslator" json:"is_translator,omitempty"` IsTranslationEnabled bool `protobuf:"varint,18,opt,name=is_translation_enabled,json=isTranslationEnabled" json:"is_translation_enabled,omitempty"` Lang string `protobuf:"bytes,19,opt,name=lang" json:"lang,omitempty"` ListedCount int64 `protobuf:"varint,20,opt,name=listed_count,json=listedCount" json:"listed_count,omitempty"` Location string `protobuf:"bytes,21,opt,name=location" json:"location,omitempty"` Name string `protobuf:"bytes,22,opt,name=name" json:"name,omitempty"` Notifications bool `protobuf:"varint,23,opt,name=notifications" json:"notifications,omitempty"` ProfileBackgroundColor string `protobuf:"bytes,24,opt,name=profile_background_color,json=profileBackgroundColor" json:"profile_background_color,omitempty"` ProfileBackgroundImageUrl string `` /* 134-byte string literal not displayed */ ProfileBackgroundImageUrlHttps string `` /* 151-byte string literal not displayed */ ProfileBackgroundTile bool `protobuf:"varint,27,opt,name=profile_background_tile,json=profileBackgroundTile" json:"profile_background_tile,omitempty"` ProfileBannerUrl string `protobuf:"bytes,28,opt,name=profile_banner_url,json=profileBannerUrl" json:"profile_banner_url,omitempty"` ProfileImageUrl string `protobuf:"bytes,29,opt,name=profile_image_url,json=profileImageUrl" json:"profile_image_url,omitempty"` ProfileImageUrlHttps string `protobuf:"bytes,30,opt,name=profile_image_url_https,json=profileImageUrlHttps" json:"profile_image_url_https,omitempty"` ProfileLinkColor string `protobuf:"bytes,31,opt,name=profile_link_color,json=profileLinkColor" json:"profile_link_color,omitempty"` ProfileSidebarBorderColor string `` /* 134-byte string literal not displayed */ ProfileSidebarFillColor string `` /* 128-byte string literal not displayed */ ProfileTextColor string `protobuf:"bytes,34,opt,name=profile_text_color,json=profileTextColor" json:"profile_text_color,omitempty"` ProfileUseBackgroundImage bool `` /* 135-byte string literal not displayed */ Protected bool `protobuf:"varint,37,opt,name=protected" json:"protected,omitempty"` ScreenName string `protobuf:"bytes,38,opt,name=screen_name,json=screenName" json:"screen_name,omitempty"` ShowAllInlineMedia bool `protobuf:"varint,39,opt,name=show_all_inline_media,json=showAllInlineMedia" json:"show_all_inline_media,omitempty"` // Tweet status = 40; // Only included if the user is a friend StatusesCount int64 `protobuf:"varint,41,opt,name=statuses_count,json=statusesCount" json:"statuses_count,omitempty"` TimeZone string `protobuf:"bytes,42,opt,name=time_zone,json=timeZone" json:"time_zone,omitempty"` Url string `protobuf:"bytes,43,opt,name=url" json:"url,omitempty"` UtcOffset int64 `protobuf:"varint,44,opt,name=utc_offset,json=utcOffset" json:"utc_offset,omitempty"` Verified bool `protobuf:"varint,45,opt,name=verified" json:"verified,omitempty"` WithheldInCountries []string `protobuf:"bytes,46,rep,name=withheld_in_countries,json=withheldInCountries" json:"withheld_in_countries,omitempty"` WithheldScope string `protobuf:"bytes,47,opt,name=withheld_scope,json=withheldScope" json:"withheld_scope,omitempty"` }
func (*User) Descriptor ¶
func (*User) GetContributorsEnabled ¶
func (*User) GetCreatedAt ¶
func (*User) GetDefaultProfile ¶
func (*User) GetDefaultProfileImage ¶
func (*User) GetDescription ¶
func (*User) GetEntities ¶
func (*User) GetFavouritesCount ¶
func (*User) GetFollowRequestSent ¶
func (*User) GetFollowersCount ¶
func (*User) GetFollowing ¶
func (*User) GetFriendsCount ¶
func (*User) GetGeoEnabled ¶
func (*User) GetHasExtendedProfile ¶
func (*User) GetIsTranslationEnabled ¶
func (*User) GetIsTranslator ¶
func (*User) GetListedCount ¶
func (*User) GetLocation ¶
func (*User) GetNotifications ¶
func (*User) GetProfileBackgroundColor ¶
func (*User) GetProfileBackgroundImageUrl ¶
func (*User) GetProfileBackgroundImageUrlHttps ¶
func (*User) GetProfileBackgroundTile ¶
func (*User) GetProfileBannerUrl ¶
func (*User) GetProfileImageUrl ¶
func (*User) GetProfileImageUrlHttps ¶
func (*User) GetProfileLinkColor ¶
func (*User) GetProfileSidebarBorderColor ¶
func (*User) GetProfileSidebarFillColor ¶
func (*User) GetProfileTextColor ¶
func (*User) GetProfileUseBackgroundImage ¶
func (*User) GetProtected ¶
func (*User) GetScreenName ¶
func (*User) GetShowAllInlineMedia ¶
func (*User) GetStatusesCount ¶
func (*User) GetTimeZone ¶
func (*User) GetUtcOffset ¶
func (*User) GetVerified ¶
func (*User) GetWithheldInCountries ¶
func (*User) GetWithheldScope ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
type UserMention ¶
type UserMention struct { Indices []int64 `protobuf:"varint,1,rep,packed,name=indices" json:"indices,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` ScreenName string `protobuf:"bytes,3,opt,name=screen_name,json=screenName" json:"screen_name,omitempty"` Id int64 `protobuf:"varint,4,opt,name=id" json:"id,omitempty"` }
func (*UserMention) Descriptor ¶
func (*UserMention) Descriptor() ([]byte, []int)
func (*UserMention) GetId ¶
func (m *UserMention) GetId() int64
func (*UserMention) GetIndices ¶
func (m *UserMention) GetIndices() []int64
func (*UserMention) GetName ¶
func (m *UserMention) GetName() string
func (*UserMention) GetScreenName ¶
func (m *UserMention) GetScreenName() string
func (*UserMention) ProtoMessage ¶
func (*UserMention) ProtoMessage()
func (*UserMention) Reset ¶
func (m *UserMention) Reset()
func (*UserMention) String ¶
func (m *UserMention) String() string
type Variant ¶
type Variant struct { Bitrate int32 `protobuf:"varint,1,opt,name=bitrate" json:"bitrate,omitempty"` ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType" json:"content_type,omitempty"` Url string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"` }
func (*Variant) Descriptor ¶
func (*Variant) GetBitrate ¶
func (*Variant) GetContentType ¶
func (*Variant) ProtoMessage ¶
func (*Variant) ProtoMessage()
type VideoInfo ¶
type VideoInfo struct { AspectRatio []int32 `protobuf:"varint,1,rep,packed,name=aspect_ratio,json=aspectRatio" json:"aspect_ratio,omitempty"` DurationMillis int64 `protobuf:"varint,2,opt,name=duration_millis,json=durationMillis" json:"duration_millis,omitempty"` Variants []*Variant `protobuf:"bytes,3,rep,name=variants" json:"variants,omitempty"` }
func (*VideoInfo) Descriptor ¶
func (*VideoInfo) GetAspectRatio ¶
func (*VideoInfo) GetDurationMillis ¶
func (*VideoInfo) GetVariants ¶
func (*VideoInfo) ProtoMessage ¶
func (*VideoInfo) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.