diff --git a/configs.go b/configs.go index b91d070..7302f4e 100644 --- a/configs.go +++ b/configs.go @@ -278,6 +278,7 @@ type AudioConfig struct { Duration int Performer string Title string + Caption string } // values returns a url.Values representation of AudioConfig. @@ -295,6 +296,9 @@ func (config AudioConfig) values() (url.Values, error) { if config.Title != "" { v.Add("title", config.Title) } + if config.Caption != "" { + v.Add("caption", config.Caption) + } return v, nil }