Skip to content

Commit

Permalink
unconvert ParseMode string cast
Browse files Browse the repository at this point in the history
  • Loading branch information
stek29 committed Apr 16, 2020
1 parent 3beea1c commit f096d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func embedSendOptions(params map[string]string, opt *SendOptions) {
}

if opt.ParseMode != ModeDefault {
params["parse_mode"] = string(opt.ParseMode)
params["parse_mode"] = opt.ParseMode
}

if opt.ReplyMarkup != nil {
Expand Down

0 comments on commit f096d2b

Please sign in to comment.