comment

package
v0.9.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment interface {
	List([]string, string)
	Insert(output string)
	Update(output string)
	Delete()
	MarkAsSpam(output string)
	SetModerationStatus(output string)
	// contains filtered or unexported methods
}

func NewComment

func NewComment(opts ...Option) Comment

type Option

type Option func(*comment)

func WithAuthorChannelId

func WithAuthorChannelId(authorChannelId string) Option

func WithBanAuthor

func WithBanAuthor(banAuthor bool, changed bool) Option

func WithCanRate

func WithCanRate(canRate bool, changed bool) Option

func WithChannelId

func WithChannelId(channelId string) Option

func WithIDs

func WithIDs(ids []string) Option

func WithMaxResults

func WithMaxResults(maxResults int64) Option

func WithModerationStatus

func WithModerationStatus(moderationStatus string) Option

func WithParentId

func WithParentId(parentId string) Option

func WithService

func WithService(svc *youtube.Service) Option

func WithTextFormat

func WithTextFormat(textFormat string) Option

func WithTextOriginal

func WithTextOriginal(textOriginal string) Option

func WithVideoId

func WithVideoId(videoId string) Option

func WithViewerRating

func WithViewerRating(viewerRating string) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL