youtube

package
v0.0.0-...-2fdac85 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiKey = os.Getenv("YOUTUBE_KEY")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type YoutubePlugin

type YoutubePlugin struct {
	// contains filtered or unexported fields
}

func (*YoutubePlugin) Command

func (p *YoutubePlugin) Command() string

func (*YoutubePlugin) Description

func (p *YoutubePlugin) Description() string

func (*YoutubePlugin) OnStart

func (p *YoutubePlugin) OnStart()

func (*YoutubePlugin) OnStop

func (p *YoutubePlugin) OnStop()

func (*YoutubePlugin) PluginId

func (p *YoutubePlugin) PluginId() string

func (*YoutubePlugin) Run

func (p *YoutubePlugin) Run(message telebot.Message)

type YoutubeResponse

type YoutubeResponse struct {
	Kind          string   `json:"-"`
	Etag          string   `json:"-"`
	NextPageToken string   `json:"-"`
	Regioncode    string   `json:"-"`
	PageInfo      pageinfo `json:"-"`
	Items         []item   `json:"items"`
}

Jump to

Keyboard shortcuts

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