Added markdown v2 parse mode
This commit is contained in:
parent
89623f5f6a
commit
4217c0238e
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ func (s *Sender) SendPrices(userId int64, cardName string, prices []cardsinfo.Sc
|
||||||
func (h *Sender) Send(userId int64, message string) {
|
func (h *Sender) Send(userId int64, message string) {
|
||||||
msg := tgbotapi.NewMessage(userId, message)
|
msg := tgbotapi.NewMessage(userId, message)
|
||||||
msg.DisableWebPagePreview = true
|
msg.DisableWebPagePreview = true
|
||||||
|
msg.ParseMode = "MarkdownV2"
|
||||||
h.API.Send(msg)
|
h.API.Send(msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue