Added markdown v2 parse mode

This commit is contained in:
Artyom Belousov 2021-06-06 17:30:58 +03:00
parent 89623f5f6a
commit 4217c0238e

View file

@ -19,6 +19,7 @@ func (s *Sender) SendPrices(userId int64, cardName string, prices []cardsinfo.Sc
func (h *Sender) Send(userId int64, message string) {
msg := tgbotapi.NewMessage(userId, message)
msg.DisableWebPagePreview = true
msg.ParseMode = "MarkdownV2"
h.API.Send(msg)
}