Documentation
¶
Index ¶
- Variables
- type Comment
- func (c *Comment) Delete(writer io.Writer) error
- func (c *Comment) Get() ([]*youtube.Comment, error)
- func (c *Comment) Insert(writer io.Writer) error
- func (c *Comment) List(writer io.Writer) error
- func (c *Comment) MarkAsSpam(writer io.Writer) error
- func (c *Comment) SetModerationStatus(writer io.Writer) error
- func (c *Comment) Update(writer io.Writer) error
- type IComment
- type Option
- func WithAuthorChannelId(authorChannelId string) Option
- func WithBanAuthor(banAuthor *bool) Option
- func WithCanRate(canRate *bool) Option
- func WithModerationStatus(moderationStatus string) Option
- func WithParentId(parentId string) Option
- func WithTextFormat(textFormat string) Option
- func WithTextOriginal(textOriginal string) Option
- func WithVideoId(videoId string) Option
- func WithViewerRating(viewerRating string) Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WithParts = common.WithParts[*Comment] WithOutput = common.WithOutput[*Comment] WithService = common.WithService[*Comment] WithIds = common.WithIds[*Comment] WithMaxResults = common.WithMaxResults[*Comment] WithChannelId = common.WithChannelId[*Comment] )
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct {
*common.Fields
AuthorChannelId string `yaml:"author_channel_id" json:"author_channel_id,omitempty"`
CanRate *bool `yaml:"can_rate" json:"can_rate,omitempty"`
ParentId string `yaml:"parent_id" json:"parent_id,omitempty"`
TextFormat string `yaml:"text_format" json:"text_format,omitempty"`
TextOriginal string `yaml:"text_original" json:"text_original,omitempty"`
ModerationStatus string `yaml:"moderation_status" json:"moderation_status,omitempty"`
BanAuthor *bool `yaml:"ban_author" json:"ban_author,omitempty"`
VideoId string `yaml:"video_id" json:"video_id,omitempty"`
ViewerRating string `yaml:"viewer_rating" json:"viewer_rating,omitempty"`
}
type IComment ¶ added in v0.10.5
type Option ¶
type Option func(*Comment)
func WithAuthorChannelId ¶
func WithBanAuthor ¶
func WithCanRate ¶
func WithModerationStatus ¶
func WithParentId ¶
func WithTextFormat ¶
func WithTextOriginal ¶
func WithVideoId ¶
func WithViewerRating ¶
Click to show internal directories.
Click to hide internal directories.