diff -r f2c8ab41725b -r 1aab69d32d74 media.go --- a/media.go Fri Jul 19 14:28:25 2019 +0200 +++ b/media.go Wed Jul 24 10:31:51 2019 +0200 @@ -38,7 +38,7 @@ return mc.UploadMediaReader(f, filepath.Base(f.Name()), description, focus) } -// UploadMedia uploads data from the given reader and returns an attachment +// UploadMediaReader uploads data from the given reader and returns an attachment // name, description and focus arguments can be empty strings. // 'focus' is the "focal point", written as two comma-delimited floating points. func (mc *Client) UploadMediaReader(f io.Reader, name, description, focus string) (*Attachment, error) {