-
Notifications
You must be signed in to change notification settings - Fork 8
/
reel.go
28 lines (27 loc) · 1.18 KB
/
reel.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package models
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"`
}