Documentation
¶
Index ¶
- Variables
- type CommentThread
- type ICommentThread
- type Option
- func WithAllThreadsRelatedToChannelId(allThreadsRelatedToChannelId string) Option
- func WithAuthorChannelId(authorChannelId string) Option
- func WithModerationStatus(moderationStatus string) Option
- func WithOrder(order string) Option
- func WithSearchTerms(searchTerms string) Option
- func WithTextFormat(textFormat string) Option
- func WithTextOriginal(textOriginal string) Option
- func WithVideoId(videoId string) Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WithParts = common.WithParts[*CommentThread] WithOutput = common.WithOutput[*CommentThread] WithService = common.WithService[*CommentThread] WithIds = common.WithIds[*CommentThread] WithMaxResults = common.WithMaxResults[*CommentThread] WithChannelId = common.WithChannelId[*CommentThread] )
Functions ¶
This section is empty.
Types ¶
type CommentThread ¶
type CommentThread struct {
*common.Fields
AuthorChannelId string `yaml:"author_channel_id" json:"author_channel_id,omitempty"`
ModerationStatus string `yaml:"moderation_status" json:"moderation_status,omitempty"`
Order string `yaml:"order" json:"order,omitempty"`
SearchTerms string `yaml:"search_terms" json:"search_terms,omitempty"`
TextFormat string `yaml:"text_format" json:"text_format,omitempty"`
TextOriginal string `yaml:"text_original" json:"text_original,omitempty"`
VideoId string `yaml:"video_id" json:"video_id,omitempty"`
AllThreadsRelatedToChannelId string `yaml:"all_threads_related_to_channel_id" json:"all_threads_related_to_channel_id,omitempty"`
}
func (*CommentThread) Get ¶ added in v0.9.9
func (c *CommentThread) Get() ([]*youtube.CommentThread, error)
type ICommentThread ¶ added in v0.10.5
type ICommentThread[T any] interface { Get() ([]*T, error) List(io.Writer) error Insert(io.Writer) error }
func NewCommentThread ¶
func NewCommentThread(opts ...Option) ICommentThread[youtube.CommentThread]
type Option ¶
type Option func(*CommentThread)
func WithAuthorChannelId ¶
func WithModerationStatus ¶
func WithSearchTerms ¶
func WithTextFormat ¶
func WithTextOriginal ¶
func WithVideoId ¶
Click to show internal directories.
Click to hide internal directories.