add caption to Voice

pull/388/head
Rustam Gilyazov 4 years ago
parent 4d858f378d
commit ded76a871e
No known key found for this signature in database
GPG Key ID: 23B9DBD7FAE54FCD

@ -161,7 +161,8 @@ type Voice struct {
Duration int `json:"duration"`
// (Optional)
MIME string `json:"mime_type,omitempty"`
Caption string `json:"caption,omitempty"`
MIME string `json:"mime_type,omitempty"`
}
// VideoNote represents a video message (available in Telegram apps

Loading…
Cancel
Save