models

package
v0.0.0-...-b569ada Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Title            Text   `json:"title"`
	Url              string `json:"url"`
	Limit            int    `json:"limit"`
	DismissPromotion bool   `json:"dismiss_promotion"`
}

type ActionBadge

type ActionBadge struct {
	ActionType      interface{} `json:"action_type"`
	ActionCount     interface{} `json:"action_count"`
	ActionTimestamp interface{} `json:"action_timestamp"`
}

type ActionLog

type ActionLog struct {
	Bold        []Bold      `json:"bold"`
	Description interface{} `json:"description"`
}

type Ad4ad

type Ad4ad struct {
	Type          interface{} `json:"type"`
	Title         interface{} `json:"title"`
	Media         Item        `json:"media"`
	Footer        interface{} `json:"footer"`
	Id            string      `json:"id"`
	TrackingToken string      `json:"tracking_token"`
}

type AdMetadata

type AdMetadata struct {
	Value interface{} `json:"value"`
	Type  interface{} `json:"type"`
}
type AndroidLink struct {
	LinkType          int    `json:"link_type"`
	WebUri            string `json:"web_uri"`
	AndroidClass      string `json:"android_class"`
	Package           string `json:"package"`
	DeeplinkUri       string `json:"deeplink_uri"`
	CallToActionTitle string `json:"call_to_action_title"`
	RedirectUri       string `json:"redirect_uri"`
	IgUserId          string `json:"ig_user_id"`
	LeadGenFormId     string `json:"lead_gen_form_id"`
	CanvasDocId       string `json:"canvas_doc_id"`
}

type AnimatedMedia

type AnimatedMedia struct {
	Id     string             `json:"id"`
	Images AnimatedMediaImage `json:"images"`
}

type AnimatedMediaImage

type AnimatedMediaImage struct {
	FixedHeight AnimatedMediaImageFixedHeight `json:"fixed_height"`
}

type AnimatedMediaImageFixedHeight

type AnimatedMediaImageFixedHeight struct {
	Url      string `json:"url"`
	Width    string `json:"width"`
	Height   string `json:"heigth"`
	Size     string `json:"size"`
	Mp4      string `json:"mp_4"`
	Mp4Size  string `json:"mp_4_size"`
	Webp     string `json:"webp"`
	WebpSize string `json:"webp_size"`
}

type Args

type Args struct {
	MediaDestination        string       `json:"media_destination"`
	Text                    string       `json:"text"`
	IconUrl                 string       `json:"icon_url"`
	Links                   []Link       `json:"links"`
	RichText                string       `json:"rich_text"`
	ProfileId               int64        `json:"profile_id"`
	ProfileImage            string       `json:"profile_image"`
	Media                   []Media      `json:"media"`
	CommentNotifType        string       `json:"comment_notif_type"`
	Timestamp               string       `json:"timestamp"`
	Tuuid                   string       `json:"tuuid"`
	Clicked                 bool         `json:"clicked"`
	ProfileName             string       `json:"profile_name"`
	ActionUrl               string       `json:"action_url"`
	Destination             string       `json:"destination"`
	Actions                 []string     `json:"actions"`
	LatestReelMedia         int64        `json:"latest_reel_media"`
	CommentId               string       `json:"comment_id"`
	RequestCount            interface{}  `json:"request_count"`
	InlineFollow            InlineFollow `json:"inline_follow"`
	CommentIds              []string     `json:"comment_ids"`
	SecondProfileId         string       `json:"second_profile_id"`
	SecondProfileImage      interface{}  `json:"second_profile_image"`
	ProfileImageDestination interface{}  `json:"profile_image_destination"`
}

type Attribution

type Attribution struct {
	VideoLength            float64  `json:"video_length"`
	ThumbnailWidth         int      `json:"thumbnail_width"`
	ThumbnailHeight        int      `json:"thumbnail_height"`
	ThumbnailDuration      float64  `json:"thumbnail_duration"`
	SpriteUrls             []string `json:"sprite_urls"`
	ThumbnailsPerRow       int      `json:"thumbnails_per_row"`
	MaxThumbnailsPerSprite int      `json:"max_thumbnails_per_sprite"`
	SpriteWidth            int      `json:"sprite_width"`
	SpriteHeight           int      `json:"sprite_height"`
	RenderedWidth          int      `json:"rendered_width"`
}

type Aymf

type Aymf struct {
	Items         []AymfItem  `json:"items"`
	MoreAvailable interface{} `json:"more_available"`
}

type AymfItem

type AymfItem struct {
	Algorithm     string      `json:"algorithm"`
	SocialContext string      `json:"social_context"`
	Caption       string      `json:"caption"`
	Uuid          string      `json:"uuid"`
	MediaIds      []int64     `json:"media_ids"`
	ThumbnailUrls []string    `json:"thumbnail_urls"`
	LargeUrls     []string    `json:"large_urls"`
	MediaInfos    interface{} `json:"media_infos"`
	FollowedBy    bool        `json:"followed_by"`
	Value         float64     `json:"value"`
}

type BiographyEntities

type BiographyEntities struct {
	Entities interface{} `json:"entities"`
	RawText  string      `json:"raw_text"`
	NuxType  string      `json:"nux_type"`
}

type Bold

type Bold struct {
	Start int `json:"start"`
	End   int `json:"end"`
}

type Broadcast

type Broadcast struct {
	BroadcastOwner User `json:"broadcast_owner"`
	/*
	 * A string such as "active" or "post_live".
	 */
	BroadcastStatus      string      `json:"broadcast_status"`
	CoverFrameUrl        string      `json:"cover_frame_url"`
	PublishedTime        int64       `json:"published_time"`
	BroadcastMessage     string      `json:"broadcast_message"`
	Muted                interface{} `json:"muted"`
	MediaId              string      `json:"media_id"`
	Id                   int64       `json:"id"`
	RtmpPlaybackUrl      string      `json:"rtmp_playback_url"`
	DashAbrPlaybackUrl   string      `json:"dash_abr_playback_url"`
	DashPlaybackUrl      string      `json:"dash_playback_url"`
	RankedPosition       interface{} `json:"ranked_position"`
	OrganicTrackingToken string      `json:"organic_tracking_token"`
	SeenRankedPosition   int         `json:"seen_ranked_position"`
	ViewerCount          float64     `json:"viewer_count"`
	DashManifest         string      `json:"dash_manifest"`
	/*
	 * Unix timestamp of when the "post_live" will expire.
	 */
	ExpireAt               int64  `json:"expire_at"`
	EncodingTag            string `json:"encoding_tag"`
	TotalUniqueViewerCount int    `json:"total_unique_viewer_count"`
	InternalOnly           bool   `json:"internal_only"`
	NumberOfQualities      int    `json:"number_of_qualities"`
}

type Button

type Button struct {
	Text            string      `json:"text"`
	Url             string      `json:"url"`
	Action          interface{} `json:"action"`
	BackgroundColor interface{} `json:"background_color"`
	BorderColor     interface{} `json:"border_color"`
	TextColor       interface{} `json:"text_color"`
	ActionInfo      interface{} `json:"action_info"`
}

type Caption

type Caption struct {
	Status          interface{} `json:"status"`
	UserId          int64       `json:"user_id"`
	CreatedAtUtc    interface{} `json:"created_at_utc"`
	CreatedAt       interface{} `json:"created_at"`
	BitFlags        int         `json:"bit_flags"`
	User            User        `json:"user"`
	ContentType     interface{} `json:"content_type"`
	Text            string      `json:"text"`
	MediaId         int         `json:"media_id"`
	Pk              int64       `json:"pk"`
	Type            int         `json:"type"`
	HasTranslation  bool        `json:"has_translation"`
	DidReportAsSpam bool        `json:"did_report_as_spam"`
}

type CarouselMedia

type CarouselMedia struct {
	Pk                int64           `json:"pk"`
	Id                string          `json:"id"`
	CarouselParentId  string          `json:"carousel_parent_id"`
	FbUserTags        Usertag         `json:"fb_user_tags"`
	NumberOfQualities int             `json:"number_of_qualities"`
	IsDashEligible    int             `json:"is_dash_eligible"`
	VideoDashManifest string          `json:"video_dash_manifest"`
	ImageVersions2    *ImageVersions2 `json:"image_versions2,omitempty"`
	VideoVersions     *[]VideoVersion `json:"video_versions,omitempty"`
	HasAudio          bool            `json:"has_audio"`
	VideoDuration     float64         `json:"video_duration"`
	VideoSubtitlesUri string          `json:"video_subtitles_uri"`
	OriginalHeight    int             `json:"original_height"`
	OriginalWidth     int             `json:"original_width"`
	/*
	 * A number describing what type of media this is. Should be compared
	 * against the `CarouselMedia::PHOTO` and `CarouselMedia::VIDEO`
	 * constants!
	 */
	MediaType       int           `json:"media_type"`
	DynamicItemId   string        `json:"dynamic_item_id"`
	Usertags        Usertag       `json:"usertags"`
	Preview         string        `json:"preview"`
	Headline        Headline      `json:"headline"`
	Link            string        `json:"link"`
	LinkText        string        `json:"link_text"`
	LinkHintText    string        `json:"link_hint_text"`
	AndroidLinks    []AndroidLink `json:"android_links"`
	AdMetadata      []AdMetadata  `json:"ad_metadata"`
	AdAction        string        `json:"ad_action"`
	AdLinkType      int           `json:"ad_link_type"`
	ForceOverlay    bool          `json:"force_overlay"`
	HideNuxText     bool          `json:"hide_nux_text"`
	OverlayText     string        `json:"overlay_text"`
	OverlayTitle    string        `json:"overlay_title"`
	OverlaySubtitle string        `json:"overlay_subtitle"`
	/*
	 * HTML color string such as "#812A2A".
	 */
	DominantColor string `json:"dominant_color"`
}

type ChainingInfo

type ChainingInfo struct {
	Sources string `json:"sources"`
}

type ChainingSuggestion

type ChainingSuggestion struct {
	ChainingInfo                  ChainingInfo `json:"chaining_info"`
	ProfileChainingSecondaryLabel interface{}  `json:"profile_chaining_secondary_label"`
}

type Challenge

type Challenge struct {
	Url               string `json:"url"`
	ApiPath           string `json:"api_path"`
	HideWebviewHeader bool   `json:"hide_webview_header"`
	Lock              bool   `json:"lock"`
	Logout            bool   `json:"logout"`
	NativeFlow        bool   `json:"native_flow"`
}

type Channel

type Channel struct {
	ChannelId   string                   `json:"channel_id"`
	ChannelType interface{}              `json:"channel_type"`
	Title       interface{}              `json:"title"`
	Header      interface{}              `json:"header"`
	MediaCount  int                      `json:"media_count"`
	Media       []map[string]interface{} `json:"media"` /*Recursive error on type Item*/
	Context     interface{}              `json:"context"`
}

type Comment

type Comment struct {
	Status string `json:"status"`
	UserId int64  `json:"user_id"`
	/*
	 * Unix timestamp (UTC) of when the comment was posted.
	 * Yes this is the UTC timestamp even though its not named "utc"!
	 */
	CreatedAt float64 `json:"created_at"`
	/*
	 * WARNING: DO NOT USE THIS VALUE! It is NOT a real UTC timestamp.
	 * Instagram has messed up their values of "created_at" vs "created_at_utc".
	 * In `getComments()` both have identical values. In `getCommentReplies()`
	 * both are identical too. But in the `getComments()` "reply previews"
	 * their "created_at_utc" values are completely wrong (always +8 hours into
	 * the future beyond the real UTC time). So just ignore this bad value!
	 * The real app only reads "created_at" for showing comment timestamps!
	 */
	CreatedAtUtc float64 `json:"created_at_utc"`
	BitFlags     int     `json:"bit_flags"`
	User         User    `json:"user"`
	Pk           int64   `json:"pk"`
	MediaId      int     `json:"media_id"`
	Text         string  `json:"text"`
	ContentType  string  `json:"content_type"`
	/*
	 * A number describing what type of comment this is. Should be compared
	 * against the `Comment::PARENT` and `Comment::CHILD` constants. All
	 * replies are of type `CHILD` and all parents are of type `PARENT`.
	 */
	Type             int  `json:"type"`
	CommentLikeCount int  `json:"comment_like_count"`
	HasLikedComment  bool `json:"has_liked_comment"`
	HasTranslation   bool `json:"has_translation"`
	DidReportAsSpam  bool `json:"did_report_as_spam"`
	/*	`json:""
	 * If this is a child in a thread this is the ID of its parent thread.
	 */
	ParentCommentId int64 `json:"parent_comment_id"`
	/*
	 * Number of child comments in this comment thread.
	 */
	ChildCommentCount int `json:"child_comment_count"`
	/*
	 * Previews of some of the child comments. Compare it to the child
	 * comment count. If there are more you must request the comment thread.
	 */
	PreviewChildComments []Comment `json:"preview_child_comments"`
	/*
	 * Previews of users in very long comment threads.
	 */
	OtherPreviewUsers              []User `json:"other_preview_users"`
	InlineComposerDisplayCondition string `json:"inline_composer_display_condition"`
	/*
	 * When "has_more_tail_child_comments" is true you can use the value
	 * in "next_max_child_cursor" as "max_id" parameter to load up to
	 * "num_tail_child_comments" older child-comments.
	 */
	HasMoreTailChildComments bool   `json:"has_more_tail_child_comments"`
	NextMaxChildCursor       string `json:"next_max_child_cursor"`
	NumTailChildComments     int    `json:"num_tail_child_comments"`
	/*
	 * When "has_more_head_child_comments" is true you can use the value
	 * in "next_min_child_cursor" as "min_id" parameter to load up to
	 * "num_head_child_comments" newer child-comments.
	 */
	HasMoreHeadChildComments bool   `json:"has_more_head_child_comments"`
	NextMinChildCursor       string `json:"next_min_child_cursor"`
	NumHeadChildComments     int    `json:"num_head_child_comments"`
}

type ContextualFilter

type ContextualFilter struct {
	ClauseType string      `json:"clause_type"`
	Filters    interface{} `json:"filters"`
	Clauses    interface{} `json:"clauses"`
}

type CountdownSticker

type CountdownSticker struct {
	CountdownId string `json:"countdown_id"`
	EndTs       string `json:"end_ts"`
	Text        string `json:"text"`
	/*
	 * HTML color string such as "#812A2A".
	 */
	TextColor string `json:"text_color"`
	/*
	 * HTML color string such as "#812A2A".
	 */
	StartBackgroundColor string `json:"start_background_color"`
	/*
	 * HTML color string such as "#812A2A".
	 */
	EndBackgroundColor string `json:"end_background_color"`
	/*
	 * HTML color string such as "#812A2A".
	 */
	DigitColor string `json:"digit_color"`
	/*
	 * HTML color string such as "#812A2A".
	 */
	DigitCardColor    string      `json:"digit_card_color"`
	FollowingEnabled  bool        `json:"following_enabled"`
	IsOwner           bool        `json:"is_owner"`
	Attribution       interface{} `json:"attribution"`
	ViewerIsFollowing bool        `json:"viewer_is_following"`
}

type Counts

type Counts struct {
	Relationships        interface{} `json:"relationships"`
	Requests             interface{} `json:"requests"`
	PhotosOfYou          interface{} `json:"photos_of_you"`
	Usertags             interface{} `json:"usertags"`
	Comments             interface{} `json:"comments"`
	Likes                interface{} `json:"likes"`
	CommentLikes         interface{} `json:"comment_likes"`
	CampaignNotification interface{} `json:"campaign_notification"`
}

type CoverMedia

type CoverMedia struct {
	Id      string `json:"id"`
	MediaId string `json:"media_id"`
	/*
	 * A number describing what type of media this is.
	 */
	MediaType           int            `json:"media_type"`
	ImageVersions2      ImageVersions2 `json:"image_versions2"`
	OriginalWidth       int            `json:"original_width"`
	OriginalHeight      int            `json:"original_height"`
	CroppedImageVersion ImageCandidate `json:"cropped_image_version"`
	CropRect            []float64      `json:"crop_rect"`
	FullImageVersion    ImageCandidate `json:"full_image_version"`
}

type Creative

type Creative struct {
	Title           Text        `json:"title"`
	Footer          Text        `json:"footer"`
	SocialContext   Text        `json:"social_context"`
	Content         Text        `json:"content"`
	PrimaryAction   Action      `json:"primary_action"`
	SecondaryAction Action      `json:"secondary_action"`
	DismissAction   interface{} `json:"dismiss_action"`
	Image           Image       `json:"image"`
}

type Cursor

type Cursor struct {
	CursorTimestampSeconds float64 `json:"cursor_timestamp_seconds"`
	CursorThreadV2Id       float64 `json:"cursor_thread_v2_id"`
}

type DirectExpiringSummary

type DirectExpiringSummary struct {
	Type      string `json:"type"`
	Timestamp string `json:"timestamp"`
	Count     int    `json:"count"`
}

type DirectInbox

type DirectInbox struct {
	HasOlder            bool           `json:"has_older"`
	UnseenCount         int            `json:"unseen_count"`
	UnseenCountTs       int64          `json:"unseen_count_ts"` // Is a timestamp.
	BlendedInboxEnabled bool           `json:"blended_inbox_enabled"`
	OldestCursor        Cursor         `json:"oldest_cursor"`
	PrevCursor          Cursor         `json:"prev_cursor"`
	NextCursor          Cursor         `json:"next_cursor"`
	Threads             []DirectThread `json:"threads"`
}
type DirectLink struct {
	Text        string      `json:"text"`
	LinkContext LinkContext `json:"link_context"`
}

type DirectRankedRecipient

type DirectRankedRecipient struct {
	Thread DirectThread `json:"thread"`
	User   User         `json:"user"`
}

type DirectReaction

type DirectReaction struct {
	ReactionType   string `json:"reaction_type"`
	Timestamp      string `json:"timestamp"`
	SenderId       string `json:"sender_id"`
	ClientContext  string `json:"client_context"`
	ReactionStatus string `json:"reaction_status"`
	NodeType       string `json:"node_type"`
	ItemId         string `json:"item_id"`
}

type DirectReactions

type DirectReactions struct {
	LikesCount int              `json:"likes_count"`
	Likes      []DirectReaction `json:"likes"`
}

type DirectThread

type DirectThread struct {
	ThreadId                  string             `json:"thread_id"`
	ThreadV2Id                string             `json:"thread_v_2_id"`
	Users                     []User             `json:"users"`
	LeftUsers                 []User             `json:"left_users"`
	Items                     []DirectThreadItem `json:"items"`
	LastActivityAt            int64              `json:"last_activity_at"`
	Muted                     bool               `json:"muted"`
	IsPin                     bool               `json:"is_pin"`
	Named                     bool               `json:"named"`
	Canonical                 bool               `json:"canonical"`
	Pending                   bool               `json:"pending"`
	ValuedRequest             bool               `json:"valued_request"`
	ThreadType                string             `json:"thread_type"`
	ViewerId                  int64              `json:"viewer_id"`
	ThreadTitle               string             `json:"thread_title"`
	PendingScore              int64              `json:"pending_score"`
	VcMuted                   bool               `json:"vc_muted"`
	IsGroup                   bool               `json:"is_group"`
	ReshareSendCount          int                `json:"reshare_send_count"`
	ReshareReceiveCount       int                `json:"reshare_receive_count"`
	ExpiringMediaSendCount    int                `json:"expiring_media_send_count"`
	ExpiringMediaReceiveCount int                `json:"expiring_media_receive_count"`
	Inviter                   User               `json:"inviter"`
	HasOlder                  bool               `json:"has_older"`
	HasNewer                  bool               `json:"has_newer"`
	LastSeenAt                interface{}        `json:"last_seen_at"`
	NewestCursor              string             `json:"newest_cursor"`
	OldestCursor              string             `json:"oldest_cursor"`
	IsSpam                    bool               `json:"is_spam"`
	LastPermanentItem         PermanentItem      `json:"last_permanent_item"`
	UnseenCount               int                `json:"unseen_count"`
	ActionBadge               ActionBadge        `json:"action_badge"`
	LastActivityAtSecs        interface{}        `json:"last_activity_at_secs"`
}

type DirectThreadItem

type DirectThreadItem struct {
	ItemId                     string                `json:"item_id"`
	ItemType                   interface{}           `json:"item_type"`
	Text                       string                `json:"text"`
	MediaShare                 *Item                 `json:"media_share"`
	PreviewMedias              []Item                `json:"preview_medias"`
	Media                      DirectThreadItemMedia `json:"media"`
	UserId                     int64                 `json:"user_id"`
	Timestamp                  float64               `json:"timestamp"`
	ClientContext              string                `json:"client_context"`
	HideInThread               int                   `json:"hide_in_thread"`
	ActionLog                  ActionLog             `json:"action_log"`
	Link                       DirectLink            `json:"link"`
	Reactions                  DirectReactions       `json:"reactions"`
	RavenMedia                 Item                  `json:"raven_media"`
	SeenUserIds                []string              `json:"seen_user_ids"`
	ExpiringMediaActionSummary DirectExpiringSummary `json:"expiring_media_action_summary"`
	ReelShare                  ReelShare             `json:"reel_share"`
	Placeholder                Placeholder           `json:"placeholder"`
	Location                   Location              `json:"location"`
	Like                       interface{}           `json:"like"`
	LiveVideoShare             LiveVideoShare        `json:"live_video_share"`
	LiveViewerInvite           LiveViewerInvite      `json:"live_viewer_invite"`
	Profile                    User                  `json:"profile"`
	StoryShare                 StoryShare            `json:"story_share"`
	DirectMediaShare           MediaShare            `json:"direct_media_share"`
	VideoCallEvent             VideoCallEvent        `json:"video_call_event"`
	ProductShare               ProductShare          `json:"product_share"`
	AnimatedMedia              AnimatedMedia         `json:"animated_media"`
	FelixShare                 FelixShare            `json:"felix_share"`
}

type DirectThreadItemMedia

type DirectThreadItemMedia struct {
	MediaType      int             `json:"media_type"`
	ImageVersions2 *ImageVersions2 `json:"image_versions2"`
	VideoVersions  *[]VideoVersion `json:"video_versions"`
	OriginalWidth  int             `json:"original_width"`
	OriginalHeight int             `json:"original_height"`
}

type DismissCard

type DismissCard struct {
	CardId       interface{} `json:"card_id"`
	ImageUrl     string      `json:"image_url"`
	Title        interface{} `json:"title"`
	Message      interface{} `json:"message"`
	ButtonText   interface{} `json:"button_text"`
	CameraTarget interface{} `json:"camera_target"`
	FaceFilterId interface{} `json:"face_filter_id"`
}

type Edge

type Edge struct {
	Priority  int       `json:"priority"`
	TimeRange TimeRange `json:"time_range"`
	Node      QpNode    `json:"node"`
}

type EligiblePromotions

type EligiblePromotions struct {
	Edges []Edge `json:"edges"`
}

type Experiment

type Experiment struct {
	Name             *string  `json:"name"`
	Group            string   `json:"group,omitempty"`
	AdditionalParams []string `json:"additional_params"`
	Params           *[]Param `json:"params,omitempty"`
	LoggingId        string   `json:"logging_id"`
	Expired          bool     `json:"expired"`
}

type Explore

type Explore struct {
	Explanation interface{} `json:"explanation"`
	ActorId     string      `json:"actor_id"`
	SourceToken interface{} `json:"source_token"`
}

type ExploreItem

type ExploreItem struct {
	Media           Item            `json:"media"`
	Stories         Stories         `json:"stories"`
	Channel         Channel         `json:"channel"`
	ExploreItemInfo ExploreItemInfo `json:"explore_item_info"`
}

type ExploreItemInfo

type ExploreItemInfo struct {
	NumColumns      int    `json:"num_columns"`
	TotalNumColumns int    `json:"total_num_columns"`
	AspectRatio     int    `json:"aspect_ratio"`
	Autoplay        bool   `json:"autoplay"`
	DestinationView string `json:"destination_view"`
}

type FeedAysf

type FeedAysf struct {
	LandingSiteType  interface{}  `json:"landing_site_type"`
	Uuid             string       `json:"uuid"`
	ViewAllText      interface{}  `json:"view_all_text"`
	FeedPosition     interface{}  `json:"feed_position"`
	LandingSiteTitle interface{}  `json:"landing_site_title"`
	IsDismissable    interface{}  `json:"is_dismissable"`
	Suggestions      []Suggestion `json:"suggestions"`
	ShouldRefill     interface{}  `json:"should_refill"`
	DisplayNewUnit   interface{}  `json:"display_new_unit"`
	FetchUserDetails interface{}  `json:"fetch_user_details"`
	Title            interface{}  `json:"title"`
	Activator        interface{}  `json:"activator"`
}

type FeedItem

type FeedItem struct {
	MediaOrAd           *Item          `json:"media_or_ad,omitempty"`
	StoriesNetego       *StoriesNetego `json:"stories_netego,omitempty"`
	Ad4ad               *Ad4ad         `json:"ad_4_ad,omitempty"`
	SuggestedUsers      *Suggested     `json:"suggested_users,omitempty"`
	EndOfFeedDemarcator interface{}    `json:"end_of_feed_demarcator,omitempty"`
	AdLinkType          int            `json:"ad_link_type,omitempty"`
}

type FelixShare

type FelixShare struct {
	Video []Item `json:"video"`
	Text  string `json:"text"`
}

type FriendshipStatus

type FriendshipStatus struct {
	Following       bool `json:"following"`
	FollowedBy      bool `json:"followed_by"`
	IncomingRequest bool `json:"incoming_request"`
	OutgoingRequest bool `json:"outgoing_request"`
	IsPrivate       bool `json:"is_private"`
	IsBlockingReel  bool `json:"is_blocking_reel"`
	IsMutingReel    bool `json:"is_muting_reel"`
	Blocking        bool `json:"blocking"`
	Muting          bool `json:"muting"`
	IsBestie        bool `json:"is_bestie"`
}

type Gating

type Gating struct {
	GatingType  interface{} `json:"gating_type"`
	Description interface{} `json:"description"`
	Buttons     interface{} `json:"buttons"`
	Title       interface{} `json:"title"`
}

type GenericMegaphone

type GenericMegaphone struct {
	Type             interface{} `json:"type"`
	Title            interface{} `json:"title"`
	Message          interface{} `json:"message"`
	Dismissible      interface{} `json:"dismissible"`
	Icon             interface{} `json:"icon"`
	Buttons          []Button    `json:"buttons"`
	MegaphoneVersion interface{} `json:"megaphone_version"`
	ButtonLayout     interface{} `json:"button_layout"`
	ActionInfo       interface{} `json:"action_info"`
	ButtonLocation   interface{} `json:"button_location"`
	BackgroundColor  interface{} `json:"background_color"`
	TitleColor       interface{} `json:"title_color"`
	MessageColor     interface{} `json:"message_color"`
	Uuid             string      `json:"uuid"`
}

type Hashtag

type Hashtag struct {
	Id               int64       `json:"id"`
	Name             string      `json:"name"`
	MediaCount       int         `json:"media_count"`
	ProfilePicUrl    string      `json:"profile_pic_url"`
	FollowStatus     int         `json:"follow_status"`
	Following        int         `json:"following"`
	AllowFollowing   int         `json:"allow_following"`
	AllowMutingStory bool        `json:"allow_muting_story"`
	RelatedTags      interface{} `json:"related_tags"`
	DebugInfo        interface{} `json:"debug_info"`
}

type Headline

type Headline struct {
	ContentType  interface{} `json:"content_type"`
	User         User        `json:"user"`
	UserId       string      `json:"user_id"`
	Pk           string      `json:"pk"`
	Text         string      `json:"text"`
	Type         int         `json:"type"`
	CreatedAt    string      `json:"created_at"`
	CreatedAtUtc int64       `json:"created_at_utc"`
	MediaId      string      `json:"media_id"`
	BitFlags     int         `json:"bit_flags"`
	Status       interface{} `json:"status"`
}

type HideReason

type HideReason struct {
	/*
	 * A human string such as "Its not relevant" and "I see it too often".
	 */
	Text string `json:"text"`
	/*
	 * A computer string such as "NOT_RELEVANT" or "KEEP_SEEING_THIS".
	 */
	Reason string `json:"reason"`
}
type IOSLink struct {
	LinkType    int    `json:"link_type"`
	CanvasDocId string `json:"canvas_doc_id"`
}

type Image

type Image struct {
	Uri    string `json:"uri"`
	Width  int    `json:"width"`
	Height int    `json:"height"`
}

type ImageCandidate

type ImageCandidate struct {
	Url    string `json:"url"`
	Width  int    `json:"width"`
	Height int    `json:"height"`
}

type ImageVersions2

type ImageVersions2 struct {
	Candidates []ImageCandidate `json:"candidates"`
	TraceToken interface{}      `json:"trace_token"`
}

type In

type In struct {
	Position              []float64   `json:"position"`
	User                  User        `json:"user"`
	TimeInVideo           interface{} `json:"time_in_video"`
	StartTimeInVideoInSec interface{} `json:"start_time_in_video_in_sec"`
	DurationInVideoInSec  interface{} `json:"duration_in_video_in_sec"`
	Product               Product     `json:"product"`
}

type Injected

type Injected struct {
	Label                      string       `json:"label"`
	ShowIcon                   bool         `json:"show_icon"`
	HideLabel                  string       `json:"hide_label"`
	Invalidation               interface{}  `json:"invalidation"` // Only encountered as NULL.
	IsDemo                     bool         `json:"is_demo"`
	ViewTags                   interface{}  `json:"view_tags"` // Only seen as [].
	IsHoldout                  bool         `json:"is_holdout"`
	TrackingToken              string       `json:"tracking_token"`
	ShowAdChoices              bool         `json:"show_ad_choices"`
	AdTitle                    string       `json:"ad_title"`
	AboutAdParams              string       `json:"about_ad_params"`
	DirectShare                bool         `json:"direct_share"`
	AdId                       string       `json:"ad_id"`
	DisplayViewabilityEligible bool         `json:"display_viewability_eligible"`
	FbPageUrl                  string       `json:"fb_page_url"`
	HideReasonsV2              []HideReason `json:"hide_reasons_v_2"`
	HideFlowType               int          `json:"hide_flow_type"`
	Cookies                    []string     `json:"cookies"`
	LeadGenFormId              string       `json:"lead_gen_form_id"`
}

type InlineFollow

type InlineFollow struct {
	UserInfo        User `json:"user_info"`
	Following       bool `json:"following"`
	OutgoingRequest bool `json:"outgoing_request"`
}

type Item

type Item struct {
	TakenAt         int64  `json:"taken_at,omitempty"`
	Pk              int64  `json:"pk,omitempty"`
	Id              string `json:"id,omitempty"`
	DeviceTimestamp int64  `json:"device_timestamp,omitempty"`
	/*
	 * A number describing what type of media this is. Should be compared
	 * against the `Item::PHOTO` `Item::VIDEO` and `Item::CAROUSEL` constants!
	 */
	MediaType                    int             `json:"media_type,omitempty"`
	DynamicItemId                string          `json:"dynamic_item_id,omitempty"`
	Code                         string          `json:"code,omitempty"`
	ClientCacheKey               string          `json:"client_cache_key,omitempty"`
	FilterType                   int             `json:"filter_type,omitempty"`
	ProductType                  string          `json:"product_type,omitempty"`
	NearlyCompleteCopyrightMatch bool            `json:"nearly_complete_copyright_match,omitempty"`
	ImageVersions2               *ImageVersions2 `json:"image_versions2,omitempty"`
	OriginalWidth                int             `json:"original_width,omitempty"`
	OriginalHeight               int             `json:"original_height,omitempty"`
	CaptionPosition              float64         `json:"caption_position,omitempty"`
	IsReelMedia                  bool            `json:"is_reel_media,omitempty"`
	VideoVersions                *[]VideoVersion `json:"video_versions,omitempty"`
	HasAudio                     bool            `json:"has_audio,omitempty"`
	VideoDuration                float64         `json:"video_duration,omitempty"`
	User                         User            `json:"user,omitempty"`
	CanSeeInsightsAsBrand        bool            `json:"can_see_insights_as_brand,omitempty"`
	Caption                      Caption         `json:"caption,omitempty"`
	Title                        string          `json:"title,omitempty"`
	CaptionIsEdited              bool            `json:"caption_is_edited,omitempty"`
	PhotoOfYou                   bool            `json:"photo_of_you,omitempty"`
	FbUserTags                   *Usertag        `json:"fb_user_tags,omitempty"`
	CanViewerSave                bool            `json:"can_viewer_save,omitempty"`
	HasViewerSaved               bool            `json:"has_viewer_saved,omitempty"`
	OrganicTrackingToken         string          `json:"organic_tracking_token,omitempty"`
	FollowHashtagInfo            *Hashtag        `json:"follow_hashtag_info,omitempty"`
	ExpiringAt                   int64           `json:"expiring_at,omitempty"`
	IsDashEligible               int             `json:"is_dash_eligible,omitempty"`
	VideoDashManifest            string          `json:"video_dash_manifest,omitempty"`
	NumberOfQualities            int             `json:"number_of_qualities,omitempty"`
	VideoCodec                   string          `json:"video_codec,omitempty"`
	Thumbnails                   *Thumbnail      `json:"thumbnails,omitempty"`
	CanReshare                   bool            `json:"can_reshare,omitempty"`
	CanReply                     bool            `json:"can_reply,omitempty"`
	CanViewerReshare             bool            `json:"can_viewer_reshare,omitempty"`
	Visibility                   interface{}     `json:"visibility,omitempty"`
	Attribution                  *Attribution    `json:"attribution,omitempty"`
	/*
	 * This is actually a float64 in the reply but is always `.0` so we cast
	 * it to an int instead to make the number easier to manage.
	 */
	ViewCount                    float64 `json:"view_count,omitempty"`
	ViewerCount                  int     `json:"viewer_count,omitempty"`
	CommentCount                 int     `json:"comment_count,omitempty"`
	CanViewMorePreviewComments   bool    `json:"can_view_more_preview_comments,omitempty"`
	HasMoreComments              bool    `json:"has_more_comments,omitempty"`
	MaxNumVisiblePreviewComments int     `json:"max_num_visible_preview_comments,omitempty"`
	/*
	 * Preview of comments via feed replies.
	 *
	 * If "has_more_comments" is FALSE then this has ALL of the comments.
	 * Otherwise youll need to get all comments by querying the media.
	 */
	PreviewComments []Comment `json:"preview_comments,omitempty"`
	/*
	 * Comments for the item.
	 *
	 * TODO: As of mid-2017 this field seems to no longer be used for
	 * timeline feed items? They now use "preview_comments" instead. But we
	 * wont delete it since some other feed MAY use this property for ITS
	 * Item object.
	 */
	Comments                            []Comment                     `json:"comments,omitempty"`
	CommentsDisabled                    bool                          `json:"comments_disabled,omitempty"`
	ReelMentions                        []ReelMention                 `json:"reel_mentions,omitempty"`
	StoryCta                            []StoryCta                    `json:"story_cta,omitempty"`
	NextMaxId                           interface{}                   `json:"next_max_id,omitempty"`
	CarouselMedia                       []CarouselMedia               `json:"carousel_media,omitempty"`
	CarouselMediaType                   interface{}                   `json:"carousel_media_type,omitempty"`
	CarouselMediaCount                  int                           `json:"carousel_media_count,omitempty"`
	Likers                              []User                        `json:"likers,omitempty"`
	LikeCount                           int                           `json:"like_count,omitempty"`
	Preview                             string                        `json:"preview,omitempty"`
	HasLiked                            bool                          `json:"has_liked,omitempty"`
	ExploreContext                      string                        `json:"explore_context,omitempty"`
	ExploreSourceToken                  string                        `json:"explore_source_token,omitempty"`
	ExploreHideComments                 bool                          `json:"explore_hide_comments,omitempty"`
	Explore                             *Explore                      `json:"explore,omitempty"`
	ImpressionToken                     string                        `json:"impression_token,omitempty"`
	Usertags                            *Usertag                      `json:"usertags,omitempty"`
	Media                               *Media                        `json:"media,omitempty"`
	Stories                             *Stories                      `json:"stories,omitempty"`
	TopLikers                           []string                      `json:"top_likers,omitempty"`
	DirectReplyToAuthorEnabled          bool                          `json:"direct_reply_to_author_enabled,omitempty"`
	SuggestedUsers                      *Suggested                    `json:"suggested_users,omitempty"`
	IsNewSuggestion                     bool                          `json:"is_new_suggestion,omitempty"`
	CommentLikesEnabled                 bool                          `json:"comment_likes_enabled,omitempty"`
	Location                            *Location                     `json:"location,omitempty"`
	Lat                                 float64                       `json:"lat,omitempty"`
	Lng                                 float64                       `json:"lng,omitempty"`
	Channel                             *Channel                      `json:"channel,omitempty"`
	Gating                              *Gating                       `json:"gating,omitempty"`
	Injected                            *Injected                     `json:"injected,omitempty"`
	Placeholder                         *Placeholder                  `json:"placeholder,omitempty"`
	Algorithm                           string                        `json:"algorithm,omitempty"`
	ConnectionId                        string                        `json:"connection_id,omitempty"`
	SocialContext                       string                        `json:"social_context,omitempty"`
	Icon                                interface{}                   `json:"icon,omitempty"`
	MediaIds                            []string                      `json:"media_ids,omitempty"`
	MediaId                             string                        `json:"media_id,omitempty"`
	ThumbnailUrls                       interface{}                   `json:"thumbnail_urls,omitempty"`
	LargeUrls                           interface{}                   `json:"large_urls,omitempty"`
	MediaInfos                          interface{}                   `json:"media_infos,omitempty"`
	Value                               float64                       `json:"value,omitempty"`
	CollapseComments                    bool                          `json:"collapse_comments,omitempty"`
	Link                                string                        `json:"link,omitempty"`
	LinkText                            string                        `json:"link_text,omitempty"`
	LinkHintText                        string                        `json:"link_hint_text,omitempty"`
	ITunesItem                          interface{}                   `json:"i_tunes_item,omitempty"`
	AdHeaderStyle                       int                           `json:"ad_header_style,omitempty"`
	AdMetadata                          []AdMetadata                  `json:"ad_metadata,omitempty"`
	AdAction                            string                        `json:"ad_action,omitempty"`
	AdLinkType                          int                           `json:"ad_link_type,omitempty"`
	DrAdType                            *int                          `json:"dr_ad_type,omitempty"`
	AndroidLinks                        []AndroidLink                 `json:"android_links,omitempty"`
	IosLinks                            []IOSLink                     `json:"ios_links,omitempty"`
	ForceOverlay                        bool                          `json:"force_overlay,omitempty"`
	HideNuxText                         bool                          `json:"hide_nux_text,omitempty"`
	OverlayText                         string                        `json:"overlay_text,omitempty"`
	OverlayTitle                        string                        `json:"overlay_title,omitempty"`
	OverlaySubtitle                     string                        `json:"overlay_subtitle,omitempty"`
	FbPageUrl                           string                        `json:"fb_page_url,omitempty"`
	PlaybackDurationSecs                interface{}                   `json:"playback_duration_secs,omitempty"`
	UrlExpireAtSecs                     interface{}                   `json:"url_expire_at_secs,omitempty"`
	IsSidecarChild                      interface{}                   `json:"is_sidecar_child,omitempty"`
	CommentThreadingEnabled             bool                          `json:"comment_threading_enabled,omitempty"`
	CoverMedia                          *CoverMedia                   `json:"cover_media,omitempty"`
	SavedCollectionIds                  []string                      `json:"saved_collection_ids,omitempty"`
	BoostedStatus                       interface{}                   `json:"boosted_status,omitempty"`
	BoostUnavailableReason              interface{}                   `json:"boost_unavailable_reason,omitempty"`
	Viewers                             []User                        `json:"viewers,omitempty"`
	ViewerCursor                        interface{}                   `json:"viewer_cursor,omitempty"`
	TotalViewerCount                    int                           `json:"total_viewer_count,omitempty"`
	MultiAuthorReelNames                interface{}                   `json:"multi_author_reel_names,omitempty"`
	ScreenshotterUserIds                interface{}                   `json:"screenshotter_user_ids,omitempty"`
	ReelShare                           *ReelShare                    `json:"reel_share,omitempty"`
	OrganicPostId                       string                        `json:"organic_post_id,omitempty"`
	SponsorTags                         []User                        `json:"sponsor_tags,omitempty"`
	StoryPollVoterInfos                 interface{}                   `json:"story_poll_voter_infos,omitempty"`
	ImportedTakenAt                     interface{}                   `json:"imported_taken_at,omitempty"`
	LeadGenFormId                       string                        `json:"lead_gen_form_id,omitempty"`
	AdId                                string                        `json:"ad_id,omitempty"`
	ActorFbid                           string                        `json:"actor_fbid,omitempty"`
	IsAd4ad                             interface{}                   `json:"is_ad_4_ad,omitempty"`
	CommentingDisabledForViewer         bool                          `json:"commenting_disabled_for_viewer,omitempty"`
	IsSeen                              interface{}                   `json:"is_seen,omitempty"`
	StoryEvents                         interface{}                   `json:"story_events,omitempty"`
	StoryHashtags                       []StoryHashtag                `json:"story_hashtags,omitempty"`
	StoryPolls                          interface{}                   `json:"story_polls,omitempty"`
	StoryFeedMedia                      interface{}                   `json:"story_feed_media,omitempty"`
	StorySoundOn                        interface{}                   `json:"story_sound_on,omitempty"`
	CreativeConfig                      interface{}                   `json:"creative_config,omitempty"`
	StoryLocations                      []StoryLocation               `json:"story_locations,omitempty"`
	StorySliders                        interface{}                   `json:"story_sliders,omitempty"`
	StoryFriendLists                    interface{}                   `json:"story_friend_lists,omitempty"`
	StoryProductItems                   interface{}                   `json:"story_product_items,omitempty"`
	StoryQuestions                      []StoryQuestion               `json:"story_questions,omitempty"`
	StoryQuestionResponderInfos         []StoryQuestionResponderInfos `json:"story_question_responder_infos,omitempty"`
	StoryCountdowns                     []StoryCountdown              `json:"story_countdowns,omitempty"`
	StoryMusicStickers                  interface{}                   `json:"story_music_stickers,omitempty"`
	SupportsReelReactions               bool                          `json:"supports_reel_reactions,omitempty"`
	ShowOneTapFbShareTooltip            bool                          `json:"show_one_tap_fb_share_tooltip,omitempty"`
	HasSharedToFb                       int                           `json:"has_shared_to_fb,omitempty"`
	MainFeedCarouselStartingMediaId     string                        `json:"main_feed_carousel_starting_media_id,omitempty"`
	MainFeedCarouselHasUnseenCoverMedia bool                          `json:"main_feed_carousel_has_unseen_cover_media,omitempty"`
	InventorySource                     string                        `json:"inventory_source,omitempty"`
	IsEof                               bool                          `json:"is_eof,omitempty"`
	TopFollowers                        []string                      `json:"top_followers,omitempty"`
	TopFollowersCount                   int                           `json:"top_followers_count,omitempty"`
	StoryIsSavedToArchive               bool                          `json:"story_is_saved_to_archive,omitempty"`
	TimezoneOffset                      int                           `json:"timezone_offset,omitempty"`
	ProductTags                         *ProductTags                  `json:"product_tags,omitempty"`
	InlineComposerDisplayCondition      string                        `json:"inline_composer_display_condition,omitempty"`
	InlineComposerImpTriggerTime        int                           `json:"inline_composer_imp_trigger_time,omitempty"`
	HighlightReelIds                    []string                      `json:"highlight_reel_ids,omitempty"`
	TotalScreenshotCount                int                           `json:"total_screenshot_count,omitempty"`
	/*
	 * HTML color string such as "#812A2A".
	 */
	DominantColor string `json:"dominant_color,omitempty"`
}

func (*Item) GetItemUrl

func (i *Item) GetItemUrl() string

func (*Item) IsAd

func (i *Item) IsAd() bool
type Link struct {
	Start       int         `json:"start"`
	End         int         `json:"end"`
	Id          string      `json:"id"`
	Type        string      `json:"type"`
	Text        string      `json:"text"`
	LinkContext LinkContext `json:"link_context"`
}

type LinkContext

type LinkContext struct {
	LinkUrl      string `json:"link_url"`
	LinkTitle    string `json:"link_title"`
	LinkSummary  string `json:"link_summary"`
	LinkImageUrl string `json:"link_image_url"`
}

type LiveVideoShare

type LiveVideoShare struct {
	Text        string    `json:"text"`
	Broadcast   Broadcast `json:"broadcast"`
	VideoOffset int       `json:"video_offset"`
}

type LiveViewerInvite

type LiveViewerInvite struct {
	Text      string    `json:"text"`
	Broadcast Broadcast `json:"broadcast"`
	Title     string    `json:"title"`
	Message   string    `json:"message"`
}

type Location

type Location struct {
	Name               string                 `json:"name"`
	ExternalIdSource   string                 `json:"external_id_source"`
	ExternalSource     string                 `json:"external_source"`
	Address            string                 `json:"address"`
	Lat                float64                `json:"lat"`
	Lng                float64                `json:"lng"`
	ExternalId         string                 `json:"external_id"`
	FacebookPlacesId   int64                  `json:"facebook_places_id"`
	City               string                 `json:"city"`
	Pk                 int64                  `json:"pk"`
	ShortName          string                 `json:"short_name"`
	FacebookEventsId   int64                  `json:"facebook_events_id"`
	StartTime          interface{}            `json:"start_time"`
	EndTime            interface{}            `json:"end_time"`
	LocationDict       map[string]interface{} `json:"location_dict"` /*recursive error on Location type*/
	Type               interface{}            `json:"type"`
	ProfilePicUrl      string                 `json:"profile_pic_url"`
	ProfilePicUsername string                 `json:"profile_pic_username"`
	TimeGranularity    interface{}            `json:"time_granularity"`
	Timezone           interface{}            `json:"timezone"`
	/*
	 * Country number such as int(398) but it has no relation to actual
	 * country codes so the number is useless...
	 */
	Country int `json:"country"`
	/*
	 * Regular unix timestamp of when the location was created.
	 */
	CreatedAt string `json:"created_at"`
	/*
	 * Some kind of internal number to signify what type of event a special
	 * location (such as a festival) is. Weve only seen this with int(0).
	 */
	EventCategory int `json:"event_category"`
	/*
	 * 64-bit integer with the facebook places ID for the location.
	 */
	PlaceFbid string `json:"place_fbid"`
	/*
	 * Human-readable name of the facebook place for the location.
	 */
	PlaceName string `json:"place_name"`
}

type LocationItem

type LocationItem struct {
	MediaBundles interface{} `json:"media_bundles"`
	Subtitle     interface{} `json:"subtitle"`
	Location     Location    `json:"location"`
	Title        interface{} `json:"title"`
}

type Media

type Media struct {
	Image                   string      `json:"image"`
	Id                      string      `json:"id"`
	User                    User        `json:"user"`
	ExpiringAt              interface{} `json:"expiring_at"`
	CommentThreadingEnabled bool        `json:"comment_threading_enabled"`
}

type MediaData

type MediaData struct {
	ImageVersions2 *ImageVersions2 `json:"image_versions2"`
	OriginalWidth  int             `json:"original_width"`
	OriginalHeight int             `json:"original_height"`
	/*
	 * A number describing what type of media this is.
	 */
	MediaType     int             `json:"media_type"`
	VideoVersions *[]VideoVersion `json:"video_versions"`
}

type MediaShare

type MediaShare struct {
	Media Item   `json:"media"`
	Text  string `json:"text"`
}

type Megaphone

type Megaphone struct {
	GenericMegaphone GenericMegaphone `json:"generic_megaphone"`
}

type Nametag

type Nametag struct {
	Mode          int         `json:"mode"`
	Gradient      interface{} `json:"gradient"`
	Emoji         interface{} `json:"emoji"`
	SelfieSticker interface{} `json:"selfie_sticker"`
}

type Owner

type Owner struct {
	Type               interface{} `json:"type"`
	Pk                 string      `json:"pk"`
	Name               string      `json:"name"`
	ProfilePicUrl      string      `json:"profile_pic_url"`
	ProfilePicUsername string      `json:"profile_pic_username"`
	ShortName          string      `json:"short_name"`
	Lat                float64     `json:"lat"`
	Lng                float64     `json:"lng"`
	LocationDict       Location    `json:"location_dict"`
}

type Param

type Param struct {
	Name  *string `json:"name,omitempty"`
	Value string  `json:"value,omitempty"`
}

type PermanentItem

type PermanentItem struct {
	ItemId         string         `json:"item_id"`
	UserId         int64          `json:"user_id"`
	Timestamp      int64          `json:"timestamp"`
	ItemType       string         `json:"item_type"`
	Profile        User           `json:"profile"`
	Text           string         `json:"text"`
	Location       Location       `json:"location"`
	Like           interface{}    `json:"like"`
	Media          MediaData      `json:"media"`
	Link           Link           `json:"link"`
	MediaShare     Item           `json:"media_share"`
	ReelShare      ReelShare      `json:"reel_share"`
	ClientContext  string         `json:"client_context"`
	LiveVideoShare LiveVideoShare `json:"live_video_share"`
	HideInThread   int            `json:"hide_in_thread"`
}

type PhoneVerificationSettings

type PhoneVerificationSettings struct {
	MaxSmsCount              int  `json:"max_sms_count"`
	ResendSmsDelaySec        int  `json:"resend_sms_delay_sec"`
	RobocallCountDownTimeSec int  `json:"robocall_count_down_time_sec"`
	RobocallAfterMaxSms      bool `json:"robocall_after_max_sms"`
}

type Placeholder

type Placeholder struct {
	IsLinked bool   `json:"is_linked"`
	Title    string `json:"title"`
	Message  string `json:"message"`
}

type PostLive

type PostLive struct {
	PostLiveItems []PostLiveItem `json:"post_live_items"`
}

type PostLiveItem

type PostLiveItem struct {
	Pk                  string       `json:"pk"`
	User                User         `json:"user"`
	Broadcasts          *[]Broadcast `json:"broadcasts"`
	PeakViewerCount     int          `json:"peak_viewer_count"`
	LastSeenBroadcastTs interface{}  `json:"last_seen_broadcast_ts"`
	CanReply            interface{}  `json:"can_reply"`
	RankedPosition      interface{}  `json:"ranked_position"`
	SeenRankedPosition  int          `json:"seen_ranked_position"`
	Muted               interface{}  `json:"muted"`
	CanReshare          interface{}  `json:"can_reshare"`
}

type Product

type Product struct {
	Name           string         `json:"name"`
	Price          string         `json:"price"`
	CurrentPrice   string         `json:"current_price"`
	FullPrice      string         `json:"full_price"`
	ProductId      int64          `json:"product_id"`
	HasViewerSaved bool           `json:"has_viewer_saved"`
	Description    string         `json:"description"`
	MainImage      ProductImage   `json:"main_image"`
	ThumbnailImage ProductImage   `json:"thumbnail_image"`
	ProductImages  []ProductImage `json:"product_images"`
	ExternalUrl    string         `json:"external_url"`
	CheckoutStyle  string         `json:"checkout_style"`
	ReviewStatus   string         `json:"review_status"`
}

type ProductImage

type ProductImage struct {
	ImageVersions2 ImageVersions2 `json:"image_versions2"`
}

type ProductShare

type ProductShare struct {
	Media   Item    `json:"media"`
	Text    string  `json:"text"`
	Product Product `json:"product"`
}

type ProductTags

type ProductTags struct {
	In []In `json:"in"`
}

type QpData

type QpData struct {
	Surface string       `json:"surface"`
	Data    QpViewerData `json:"data"`
}

type QpExtraInfo

type QpExtraInfo struct {
	Surface   int    `json:"surface"`
	ExtraInfo string `json:"extra_info"`
}

type QpNode

type QpNode struct {
	Id                string           `json:"id"`
	PromotionId       string           `json:"promotion_id"`
	MaxImpressions    int              `json:"max_impressions"`
	Triggers          []string         `json:"triggers"`
	ContextualFilters ContextualFilter `json:"contextual_filters"`
	Template          Template         `json:"template"`
	Creatives         []Creative       `json:"creatives"`
}

type QpViewerData

type QpViewerData struct {
	Viewer Viewer `json:"viewer"`
}

type QuestionSticker

type QuestionSticker struct {
	QuestionId interface{} `json:"question_id"`
	Question   string      `json:"question"`
	/*
	 * HTML color string such as "#812A2A".
	 */
	TextColor string `json:"text_color"`
	/*
	 * HTML color string such as "#812A2A".
	 */
	BackgroundColor   string `json:"background_color"`
	ViewerCanInteract bool   `json:"viewer_can_interact"`
	ProfilePicUrl     string `json:"profile_pic_url"`
	QuestionType      string `json:"question_type"`
}

type Reel

type Reel struct {
	Id interface{} `json:"id,string"`
	/*
	 * Unix "taken_at" timestamp of the newest item in their story reel.
	 */
	LatestReelMedia int64 `json:"latest_reel_media"`
	/*
	 * The "taken_at" timestamp of the last story media you have seen for
	 * that user (the current reels user). Defaults to `0` (not seen).
	 */
	Seen               int64       `json:"seen"`
	CanReply           bool        `json:"can_reply"`
	CanReshare         bool        `json:"can_reshare"`
	ReelType           string      `json:"reel_type"`
	CoverMedia         *CoverMedia `json:"cover_media,omitempty"`
	User               User        `json:"user"`
	Items              *[]Item     `json:"items,omitempty"`
	RankedPosition     string      `json:"ranked_position"`
	Title              string      `json:"title"`
	SeenRankedPosition string      `json:"seen_ranked_position"`
	ExpiringAt         int64       `json:"expiring_at"`
	HasBestiesMedia    bool        `json:"has_besties_media"` // Uses int(0) for false and 1 for true.
	Location           *Location   `json:"location,omitempty"`
	PrefetchCount      int         `json:"prefetch_count"`
	Broadcast          *Broadcast  `json:"broadcast,omitempty"`
}

type ReelMention

type ReelMention struct {
	User     User `json:"user"`
	IsHidden int  `json:"is_hidden"`
}

type ReelShare

type ReelShare struct {
	Tray              []map[string]interface{} `json:"tray"` /*Recursive error on type Item*/
	StoryRankingToken string                   `json:"story_ranking_token"`
	Broadcasts        interface{}              `json:"broadcasts"`
	StickerVersion    int                      `json:"sticker_version"`
	Text              string                   `json:"text"`
	Type              string                   `json:"type"`
	IsReelPersisted   bool                     `json:"is_reel_persisted"`
	ReelOwnerId       string                   `json:"reel_owner_id"`
	ReelType          string                   `json:"reel_type"`
	Media             []map[string]interface{} `json:"media"` /*Recursive error on type Item*/
	MentionedUserId   string                   `json:"mentioned_user_id"`
}

type Responder

type Responder struct {
	Response          string `json:"response"`
	HasSharedResponse bool   `json:"has_shared_response"`
	Id                string `json:"id"`
	User              User   `json:"user"`
	Ts                int    `json:"ts"`
}

type RewriteRule

type RewriteRule struct {
	Matcher  string `json:"matcher"`
	Replacer string `json:"replacer"`
}

type Stories

type Stories struct {
	IsPortrait interface{} `json:"is_portrait"`
	Tray       []StoryTray `json:"tray"`
	Id         int64       `json:"id"`
	TopLive    TopLive     `json:"top_live"`
}

type StoriesNetego

type StoriesNetego struct {
	TrackingToken  string `json:"tracking_token"`
	HideUnitIfSeen string `json:"hide_unit_if_seen"`
	Id             int    `json:"id"`
}

type Story

type Story struct {
	Pk        string `json:"pk"`
	Counts    Counts `json:"counts"`
	Args      Args   `json:"args"`
	Type      int    `json:"type"`
	StoryType int    `json:"story_type"`
}

type StoryCountdown

type StoryCountdown struct {
	X                float64          `json:"x"`
	Y                float64          `json:"y"`
	Z                float64          `json:"z"`
	Width            float64          `json:"width"`
	Height           float64          `json:"height"`
	Rotation         float64          `json:"rotation"`
	IsPinned         int              `json:"is_pinned"`
	IsHidden         int              `json:"is_hidden"`
	CountdownSticker CountdownSticker `json:"countdown_sticker"`
}

type StoryCta

type StoryCta struct {
	Links []AndroidLink `json:"links"`
}

type StoryHashtag

type StoryHashtag struct {
	// Sticker Missing
	Hashtag     Hashtag `json:"hashtag"`
	Attribution string  `json:"attribution"`
	CustomTitle string  `json:"custom_title"`
	IsHidden    int     `json:"is_hidden"`
}

type StoryLocation

type StoryLocation struct {
	// Sticker Missing
	Location    Location `json:"location"`
	Attribution string   `json:"attribution"`
	IsHidden    int      `json:"is_hidden"`
}

type StoryQuestion

type StoryQuestion struct {
	X               float64         `json:"x"`
	Y               float64         `json:"y"`
	Z               float64         `json:"z"`
	Width           float64         `json:"width"`
	Height          float64         `json:"height"`
	Rotation        float64         `json:"rotation"`
	IsPinned        int             `json:"is_pinned"`
	IsHidden        int             `json:"is_hidden"`
	QuestionSticker QuestionSticker `json:"question_sticker"`
}

type StoryQuestionResponderInfos

type StoryQuestionResponderInfos struct {
	QuestionId                 string      `json:"question_id"`
	Question                   string      `json:"question"`
	QuestionType               string      `json:"question_type"`
	BackgroundColor            string      `json:"background_color"`
	TextColor                  string      `json:"text_color"`
	Responders                 []Responder `json:"responders"`
	MaxId                      interface{} `json:"max_id"`
	MoreAvailable              bool        `json:"more_available"`
	QuestionResponseCount      int         `json:"question_response_count"`
	LatestQuestionResponseTime int         `json:"latest_question_response_time"`
}

type StoryShare

type StoryShare struct {
	Media    Item   `json:"media"`
	Text     string `json:"text"`
	Title    string `json:"title"`
	Message  string `json:"message"`
	IsLinked bool   `json:"is_linked"`
}

type StoryTray

type StoryTray struct {
	Id                 string      `json:"id"`
	Items              []Item      `json:"items"`
	User               User        `json:"user"`
	CanReply           interface{} `json:"can_reply"`
	ExpiringAt         int64       `json:"expiring_at"`
	SeenRankedPosition int         `json:"seen_ranked_position"`
	/*
	 * The "taken_at" timestamp of the last story media you have seen for
	 * that user (the current trays user). Defaults to `0` (not seen).
	 */
	Seen int64 `json:"seen"`
	/*
	 * Unix "taken_at" timestamp of the newest item in their story reel.
	 */
	LatestReelMedia     int64       `json:"latest_reel_media"`
	RankedPosition      int         `json:"ranked_position"`
	IsNux               interface{} `json:"is_nux"`
	ShowNuxTooltip      interface{} `json:"show_nux_tooltip"`
	Muted               interface{} `json:"muted"`
	PrefetchCount       int         `json:"prefetch_count"`
	Location            Location    `json:"location"`
	SourceToken         interface{} `json:"source_token"`
	Owner               Owner       `json:"owner"`
	NuxId               string      `json:"nux_id"`
	DismissCard         DismissCard `json:"dismiss_card"`
	CanReshare          interface{} `json:"can_reshare"`
	HasBestiesMedia     bool        `json:"has_besties_media"`
	ReelType            string      `json:"reel_type"`
	UniqueIntegerReelId string      `json:"unique_integer_reel_id"`
	CoverMedia          CoverMedia  `json:"cover_media"`
	Title               string      `json:"title"`
	MediaCount          int         `json:"media_count"`
}

type Subscription

type Subscription struct {
	Topic    interface{} `json:"topic"`
	Url      string      `json:"url"`
	Sequence interface{} `json:"sequence"`
	Auth     interface{} `json:"auth"`
}

type Suggested

type Suggested struct {
	Position   int          `json:"position"`
	Hashtag    Hashtag      `json:"hashtag"`
	User       User         `json:"user"`
	Place      LocationItem `json:"place"`
	ClientTime interface{}  `json:"client_time"`
}

type SuggestedUsers

type SuggestedUsers struct {
	Id               string           `json:"id"`
	ViewAllText      string           `json:"view_all_text"`
	Title            string           `json:"title"`
	AutoDvance       string           `json:"auto_dvance"`
	Type             int              `json:"type"`
	TrackingToken    string           `json:"tracking_token"`
	LandingSiteType  string           `json:"landing_site_type"`
	LandingSiteTitle string           `json:"landing_site_title"`
	UpsellFbPos      string           `json:"upsell_fb_pos"`
	Suggestions      []Suggestion     `json:"suggestions"`
	SuggestionCards  []SuggestionCard `json:"suggestion_cards"`
	NetegoType       string           `json:"netego_type"`
}

type Suggestion

type Suggestion struct {
	MediaInfos      interface{} `json:"media_infos"`
	SocialContext   string      `json:"social_context"`
	Algorithm       string      `json:"algorithm"`
	ThumbnailUrls   []string    `json:"thumbnail_urls"`
	Value           float64     `json:"value"`
	Caption         interface{} `json:"caption"`
	User            User        `json:"user"`
	LargeUrls       []string    `json:"large_urls"`
	MediaIds        interface{} `json:"media_ids"`
	Icon            interface{} `json:"icon"`
	IsNewSuggestion bool        `json:"is_new_suggestion"`
	Uuid            string      `json:"uuid"`
}

type SuggestionCard

type SuggestionCard struct {
	UserCard      UserCard    `json:"user_card"`
	UpsellCiCard  interface{} `json:"upsell_ci_card"`
	UpsellFbcCard interface{} `json:"upsell_fbc_card"`
}

type Surface

type Surface struct {
	Scores    interface{} `json:"scores"`
	RankToken string      `json:"rank_token"`
	TtlSecs   int         `json:"ttl_secs"`
	Name      string      `json:"name"`
}

type SystemControl

type SystemControl struct {
	UploadMaxBytes       int `json:"upload_max_bytes"`
	UploadTimePeriodSec  int `json:"upload_time_period_sec"`
	UploadBytesPerUpdate int `json:"upload_bytes_per_update"`
}

type Template

type Template struct {
	Name       string      `json:"name"`
	Parameters interface{} `json:"parameters"`
}

type Text

type Text struct {
	Text string `json:"text"`
}

type Thumbnail

type Thumbnail struct {
	VideoLength            float64  `json:"video_length"`
	ThumbnailWidth         int      `json:"thumbnail_width"`
	ThumbnailHeight        int      `json:"thumbnail_height"`
	ThumbnailDuration      float64  `json:"thumbnail_duration"`
	SpriteUrls             []string `json:"sprite_urls"`
	ThumbnailsPerRow       int      `json:"thumbnails_per_row"`
	MaxThumbnailsPerSprite int      `json:"max_thumbnails_per_sprite"`
	SpriteWidth            int      `json:"sprite_width"`
	SpriteHeight           int      `json:"sprite_height"`
	RenderedWidth          int      `json:"rendered_width"`
}

type TimeRange

type TimeRange struct {
	Start string `json:"start"`
	End   string `json:"end"`
}

type Token

type Token struct {
	CarrierName                 string        `json:"carrier_name"`
	CarrierId                   int           `json:"carrier_id"`
	Ttl                         int64         `json:"ttl"`
	Features                    interface{}   `json:"features"`
	RequestTime                 int           `json:"request_time"`
	TokenHash                   string        `json:"token_hash"`
	RewriteRules                []RewriteRule `json:"rewrite_rules"`
	EnabledWalletDefsKeys       interface{}   `json:"enabled_wallet_defs_keys"`
	Deadline                    string        `json:"deadline"`
	ZeroCmsFetchIntervalSeconds int           `json:"zero_cms_fetch_interval_seconds"`
}

func (*Token) ExpiresAt

func (t *Token) ExpiresAt() int64

type TopLive

type TopLive struct {
	BroadcastOwners []User      `json:"broadcast_owners"`
	RankedPosition  interface{} `json:"ranked_position"`
}

type TraceControl

type TraceControl struct {
	MaxTraceTimeoutMs int `json:"max_trace_timeout_ms"`
}

type TraySuggestions

type TraySuggestions struct {
	Tray           []StoryTray `json:"tray"`
	TrayTitle      string      `json:"tray_title"`
	BannerTitle    string      `json:"banner_title"`
	BannerSubtitle string      `json:"banner_subtitle"`
	SuggestionType string      `json:"suggestion_type"`
}

type TwoFactorInfo

type TwoFactorInfo struct {
	Username                  string                     `json:"username,omitempty"`
	SmsTwoFactorOn            bool                       `json:"sms_two_factor_on,omitempty"`
	TotpTwoFactorOn           bool                       `json:"totp_two_factor_on,omitempty"`
	ObfuscatedPhoneNumber     string                     `json:"obfuscated_phone_number,omitempty"`
	TwoFactorIdentifier       string                     `json:"two_factor_identifier,omitempty"`
	ShowMessengerCodeOption   bool                       `json:"show_messenger_code_option,omitempty"`
	ShowNewLoginScreen        bool                       `json:"show_new_login_screen,omitempty"`
	ShowTrustedDeviceOption   bool                       `json:"show_trusted_device_option,omitempty"`
	PhoneVerificationSettings *PhoneVerificationSettings `json:"phone_verification_settings,omitempty"`
}

type User

type User struct {
	Username                   string `json:"username,omitempty"`
	HasAnonymousProfilePicture bool   `json:"has_anonymous_profile_picture,omitempty"`
	HasHighlightReels          bool   `json:"has_highlight_reels,omitempty"`
	IsFavorite                 bool   `json:"is_favorite,omitempty"`
	IsFavoriteForStories       bool   `json:"is_favorite_for_stories,omitempty"`
	IsFavoriteForHighlights    bool   `json:"is_favorite_for_highlights,omitempty"`
	IsInterestAccount          bool   `json:"is_interest_account,omitempty"`

	ProfilePicUrl                  string               `json:"profile_pic_url,omitempty"`
	ProfilePicId                   string               `json:"profile_pic_id,omitempty"`
	Permission                     bool                 `json:"permission,omitempty"`
	FullName                       string               `json:"full_name,omitempty"`
	UserId                         string               `json:"user_id,omitempty"`
	Pk                             int64                `json:"pk,omitempty"`
	Id                             *int64               `json:"id,omitempty"`
	IsVerified                     bool                 `json:"is_verified,omitempty"`
	IsPrivate                      bool                 `json:"is_private,omitempty"`
	CoeffWeight                    interface{}          `json:"coeff_weight,omitempty"`
	FriendshipStatus               *FriendshipStatus    `json:"friendship_status,omitempty"`
	HdProfilePicVersions           []ImageCandidate     `json:"hd_profile_pic_versions,omitempty"`
	Byline                         interface{}          `json:"byline,omitempty"`
	SearchSocialContext            interface{}          `json:"search_social_context,omitempty"`
	UnseenCount                    interface{}          `json:"unseen_count,omitempty"`
	MutualFollowersCount           int                  `json:"mutual_followers_count,omitempty"`
	FollowerCount                  int                  `json:"follower_count,omitempty"`
	SearchSubtitle                 string               `json:"search_subtitle,omitempty"`
	SocialContext                  interface{}          `json:"social_context,omitempty"`
	MediaCount                     int                  `json:"media_count,omitempty"`
	FollowingCount                 int                  `json:"following_count,omitempty"`
	FollowingTagCount              int                  `json:"following_tag_count,omitempty"`
	IsBusiness                     bool                 `json:"is_business,omitempty"`
	UserTagsCount                  int                  `json:"usertags_count,omitempty"`
	ProfileContext                 interface{}          `json:"profile_context,omitempty"`
	Biography                      string               `json:"biography,omitempty"`
	GeoMediaCount                  int                  `json:"geo_media_count,omitempty"`
	IsUnpublished                  bool                 `json:"is_unpublished,omitempty"`
	AllowContactsSync              interface{}          `json:"allow_contacts_sync,omitempty"`
	ShowFeedBizConversionIcon      interface{}          `json:"show_feed_biz_conversion_icon,omitempty"`
	AutoExpandChaining             interface{}          `json:"auto_expand_chaining,omitempty"`
	CanBoostPost                   interface{}          `json:"can_boost_post,omitempty"`
	IsProfileActionNeeded          bool                 `json:"is_profile_action_needed,omitempty"`
	HasChaining                    bool                 `json:"has_chaining,omitempty"`
	HasRecommendAccounts           bool                 `json:"has_recommend_accounts,omitempty"`
	ChainingSuggestions            []ChainingSuggestion `json:"chaining_suggestions,omitempty"`
	IncludeDirectBlacklistStatus   interface{}          `json:"include_direct_blacklist_status,omitempty"`
	CanSeeOrganicInsights          bool                 `json:"can_see_organic_insights,omitempty"`
	HasPlacedOrders                bool                 `json:"has_placed_orders,omitempty"`
	CanConvertToBusiness           bool                 `json:"can_convert_to_business,omitempty"`
	ConvertFromPages               interface{}          `json:"convert_from_pages,omitempty"`
	ShowBusinessConversionIcon     bool                 `json:"show_business_conversion_icon,omitempty"`
	ShowConversionEditEntry        bool                 `json:"show_conversion_edit_entry,omitempty"`
	ShowInsightsTerms              bool                 `json:"show_insights_terms,omitempty"`
	CanCreateSponsorTags           interface{}          `json:"can_create_sponsor_tags,omitempty"`
	HdProfilePicUrlInfo            *ImageCandidate      `json:"hd_profile_pic_url_info,omitempty"`
	UserTagReviewEnabled           interface{}          `json:"usertag_review_enabled,omitempty"`
	ProfileContextMutualFollowIds  interface{}          `json:"profile_context_mutual_follow_ids,omitempty"`
	ProfileContextLinksWithUserIds []Link               `json:"profile_context_links_with_user_ids,omitempty"`
	HasBiographyTranslation        bool                 `json:"has_biography_translation,omitempty"`
	TotalIGTVVideos                int                  `json:"total_igtv_videos,omitempty"`
	TotalArEffects                 int                  `json:"total_ar_effects,omitempty"`
	CanLinkEntitiesInBio           bool                 `json:"can_link_entities_in_bio,omitempty"`
	BiographyWithEntities          *BiographyEntities   `json:"biography_with_entities,omitempty"`
	MaxNumLinkedEntitiesInBio      int                  `json:"max_num_linked_entities_in_bio,omitempty"`
	BusinessContactMethod          string               `json:"business_contact_method,omitempty"`
	HighlightReShareDisabled       bool                 `json:"highlight_reshare_disabled,omitempty"`
	/*
	 * Business category.
	 */
	Category                       string      `json:"category,omitempty"`
	DirectMessaging                string      `json:"direct_messaging,omitempty"`
	PageName                       interface{} `json:"page_name,omitempty"`
	FbPageCallToActionId           string      `json:"fb_page_call_to_action_id,omitempty"`
	IsCallToActionEnabled          bool        `json:"is_call_to_action_enabled,omitempty"`
	AccountType                    int         `json:"account_type,omitempty"`
	PublicPhoneCountryCode         string      `json:"public_phone_country_code,omitempty"`
	PublicPhoneNumber              string      `json:"public_phone_number,omitempty"`
	ContactPhoneNumber             string      `json:"contact_phone_number,omitempty"`
	Latitude                       float64     `json:"latitude,omitempty"`
	Longitude                      float64     `json:"longitude,omitempty"`
	AddressStreet                  string      `json:"address_street,omitempty"`
	Zip                            string      `json:"zip,omitempty"`
	CityId                         float64     `json:"city_id,omitempty"` // 64-bit number.
	CityName                       string      `json:"city_name,omitempty"`
	PublicEmail                    string      `json:"public_email,omitempty"`
	IsNeedy                        bool        `json:"is_needy,omitempty"`
	ExternalUrl                    string      `json:"external_url,omitempty"`
	ExternalLynxUrl                string      `json:"external_lynx_url,omitempty"`
	Email                          string      `json:"email,omitempty"`
	CountryCode                    int         `json:"country_code,omitempty"`
	Birthday                       interface{} `json:"birthday,omitempty"`
	NationalNumber                 float64     `json:"national_number,omitempty"` // Really int but may be >32bit.
	Gender                         int         `json:"gender,omitempty"`
	PhoneNumber                    string      `json:"phone_number,omitempty"`
	NeedsEmailConfirm              interface{} `json:"needs_email_confirm,omitempty"`
	IsActive                       bool        `json:"is_active,omitempty"`
	BlockAt                        interface{} `json:"block_at,omitempty"`
	AggregatePromoteEngagement     interface{} `json:"aggregate_promote_engagement,omitempty"`
	FBUID                          interface{} `json:"fbuid,omitempty"`
	PageId                         interface{} `json:"page_id,omitempty"`
	CanClaimPage                   bool        `json:"can_claim_page,omitempty"`
	FbPageCallToActionIxAppId      int         `json:"fb_page_call_to_action_ix_app_id,omitempty"`
	FbPageCallToActionIxUrl        string      `json:"fb_page_call_to_action_ix_url,omitempty"`
	CanCrossPostWithoutFbToken     bool        `json:"can_crosspost_without_fb_token,omitempty"`
	FbPageCallToActionIxPartner    string      `json:"fb_page_call_to_action_ix_partner,omitempty"`
	ShoppablePostsCount            int         `json:"shoppable_posts_count,omitempty"`
	ShowShoppableFeed              bool        `json:"show_shoppable_feed,omitempty"`
	ShowAccountTransparencyDetails bool        `json:"show_account_transparency_details,omitempty"`
	/*
	 * Unix "taken_at" timestamp of the newest item in their story reel.
	 */
	LatestReelMedia        int64       `json:"latest_reel_media,omitempty"`
	HasUnseenBestiesMedia  bool        `json:"has_unseen_besties_media,omitempty"`
	AllowedCommenterType   string      `json:"allowed_commenter_type,omitempty"`
	ReelAutoArchive        string      `json:"reel_auto_archive,omitempty"`
	IsDirectAppInstalled   bool        `json:"is_directapp_installed,omitempty"`
	BestiesCount           int         `json:"besties_count,omitempty"`
	CanBeTaggedAsSponsor   bool        `json:"can_be_tagged_as_sponsor,omitempty"`
	CanFollowHashtag       bool        `json:"can_follow_hashtag,omitempty"`
	HasProfileVideoFeed    bool        `json:"has_profile_video_feed,omitempty"`
	IsVideoCreator         bool        `json:"is_video_creator,omitempty"`
	ShowBestiesBadge       bool        `json:"show_besties_badge,omitempty"`
	ScreenShotted          bool        `json:"screenshotted,omitempty"`
	Nametag                *Nametag    `json:"nametag,omitempty"`
	School                 interface{} `json:"school,omitempty"`
	IsBestie               bool        `json:"is_bestie,omitempty"`
	LiveSubscriptionStatus string      `json:"live_subscription_status,omitempty"`
	// contains filtered or unexported fields
}

type UserCard

type UserCard struct {
	User            User        `json:"user"`
	Algorithm       string      `json:"algorithm"`
	SocialContext   string      `json:"social_context"`
	Caption         interface{} `json:"caption"`
	Icon            interface{} `json:"icon"`
	MediaIds        interface{} `json:"media_ids"`
	ThumbnailUrls   interface{} `json:"thumbnail_urls"`
	LargeUrls       interface{} `json:"large_urls"`
	MediaInfos      interface{} `json:"media_infos"`
	Value           float64     `json:"value"`
	IsNewSuggestion bool        `json:"is_new_suggestion"`
	Uuid            string      `json:"uuid"`
}

type Usertag

type Usertag struct {
	In         []In `json:"in"`
	PhotoOfYou bool `json:"photo_of_you"`
}

type VideoCallEvent

type VideoCallEvent struct {
	Action string `json:"action"`
	VcId   string `json:"vc_id"`
}

type VideoVersion

type VideoVersion struct {
	Type   int    `json:"type"` // Some kinda internal type ID, such as int(102).
	Width  int    `json:"width"`
	Height int    `json:"height"`
	Url    string `json:"url"`
	Id     string `json:"id"`
}

type Viewer

type Viewer struct {
	EligiblePromotions EligiblePromotions `json:"eligible_promotions"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL