Skip to content

Commit

Permalink
Fix reels in inbox
Browse files Browse the repository at this point in the history
  • Loading branch information
3l0w committed Aug 30, 2022
1 parent fbb6894 commit 2a9e26e
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions inbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ type InboxItem struct {

Like string `json:"like"`

Reel *reelShare `json:"reel_share"`
Reel *Clip `json:"clip"`
Media *Item `json:"media"`
MediaShare *Item `json:"media_share"`
AnimatedMedia *AnimatedMedia `json:"animated_media"`
Expand Down Expand Up @@ -155,13 +155,8 @@ type msgResp struct {
StatusCode string `json:"status_code"`
}

type reelShare struct {
Text string `json:"text"`
IsPersisted bool `json:"is_reel_persisted"`
OwnderID int64 `json:"reel_owner_id"`
Type string `json:"type"`
ReelType string `json:"reel_type"`
Media Item `json:"media"`
type Clip struct {
Media Item `json:"clip"`
}

type actionLog struct {
Expand Down

0 comments on commit 2a9e26e

Please sign in to comment.