bot: fix default parse mode embedding in EditMedia

pull/447/head
Demian 3 years ago
parent f457be52e3
commit 2ef032b358

@ -970,7 +970,7 @@ func (b *Bot) EditMedia(msg Editable, media InputMedia, opts ...interface{}) (*M
b.embedSendOptions(params, sendOpts)
if sendOpts != nil {
result.ParseMode = sendOpts.ParseMode
result.ParseMode = params["parse_mode"]
}
if thumb != nil {
result.Thumbnail = "attach://" + thumbName

Loading…
Cancel
Save