Skip to content

Commit

Permalink
feat: StoriesFeedItem add more fields
Browse files Browse the repository at this point in the history
  • Loading branch information
SevereCloud committed Jun 1, 2021
1 parent 24dd9b3 commit 1f484bf
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions object/stories.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ type StoriesNarrativeInfo struct {
Views int `json:"views"`
}

// StoriesPromoData struct.
// StoriesPromoData additional data for promo stories.
//
// TODO: v3 rename StoriesPromoBlock.
type StoriesPromoData struct {
Name string `json:"name"`
Photo50 string `json:"photo_50"`
Expand Down Expand Up @@ -164,11 +166,16 @@ const (

// StoriesFeedItem struct.
type StoriesFeedItem struct {
Type StoriesFeedItemType `json:"type"`
ID string `json:"id"`
Stories []StoriesStory `json:"stories"`
Grouped StoriesFeedItemType `json:"grouped"`
App AppsApp `json:"app"`
Type StoriesFeedItemType `json:"type"`
ID string `json:"id"`
Stories []StoriesStory `json:"stories"`
Grouped StoriesFeedItemType `json:"grouped"`
App AppsApp `json:"app"`
BirthdayUserID int `json:"birthday_user_id"`
TrackCode string `json:"track_code"`
HasUnseen BaseBoolInt `json:"has_unseen"`
Name string `json:"name"`
PromoData StoriesPromoData `json:"promo_data"`
}

// StoriesClickableStickers struct.
Expand Down

0 comments on commit 1f484bf

Please sign in to comment.