✨ Videos API
This commit is contained in:
@ -13,6 +13,7 @@ const (
|
||||
PostTypeStory = "story"
|
||||
PostTypeArticle = "article"
|
||||
PostTypeQuestion = "question"
|
||||
PostTypeVideo = "video"
|
||||
)
|
||||
|
||||
type PostVisibilityLevel = int8
|
||||
@ -88,6 +89,17 @@ type PostQuestionBody struct {
|
||||
Reward float64 `json:"reward"`
|
||||
}
|
||||
|
||||
type PostVideoBody struct {
|
||||
Thumbnail *string `json:"thumbnail"`
|
||||
Title string `json:"title"`
|
||||
Description *string `json:"description"`
|
||||
Location *string `json:"location"`
|
||||
Video string `json:"video"`
|
||||
IsLive bool `json:"is_live"`
|
||||
IsLiveEnded bool `json:"is_live_ended"`
|
||||
Subtitles map[string]string `json:"subtitles"`
|
||||
}
|
||||
|
||||
type PostInsight struct {
|
||||
cruda.BaseModel
|
||||
|
||||
|
Reference in New Issue
Block a user