Skip to content

Commit

Permalink
feat: VideoRestriction add DisclaimerType field
Browse files Browse the repository at this point in the history
  • Loading branch information
SevereCloud committed Jun 1, 2021
1 parent daf3bdc commit 1c42bc8
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions object/video.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,15 @@ func (video VideoVideo) ToAttachment() string {

// VideoRestriction struct.
type VideoRestriction struct {
Title string `json:"title"`
Text string `json:"text"`
AlwaysShown BaseBoolInt `json:"always_shown"`
Blur BaseBoolInt `json:"blur"`
CanPlay BaseBoolInt `json:"can_play"`
CanPreview BaseBoolInt `json:"can_preview"`
CardIcon []BaseImage `json:"card_icon"`
ListIcon []BaseImage `json:"list_icon"`
Title string `json:"title"`
Text string `json:"text"`
AlwaysShown BaseBoolInt `json:"always_shown"`
Blur BaseBoolInt `json:"blur"`
CanPlay BaseBoolInt `json:"can_play"`
CanPreview BaseBoolInt `json:"can_preview"`
CardIcon []BaseImage `json:"card_icon"`
ListIcon []BaseImage `json:"list_icon"`
DisclaimerType int `json:"disclaimer_type"`
}

// VideoActionButton struct.
Expand Down

0 comments on commit 1c42bc8

Please sign in to comment.