mirror of
https://github.com/tucnak/telebot
synced 2024-11-19 03:25:39 +00:00
update sendable to include voice.caption
This commit is contained in:
parent
ded76a871e
commit
97480382ea
@ -213,6 +213,7 @@ func (a *Animation) Send(b *Bot, to Recipient, opt *SendOptions) (*Message, erro
|
||||
func (v *Voice) Send(b *Bot, to Recipient, opt *SendOptions) (*Message, error) {
|
||||
params := map[string]string{
|
||||
"chat_id": to.Recipient(),
|
||||
"caption": v.Caption,
|
||||
}
|
||||
b.embedSendOptions(params, opt)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user