ParseMode = Markdown

This commit is contained in:
斟酌 鵬兄 2022-09-15 20:32:06 +08:00
parent 67e3ec1500
commit 25ccd64a88

View File

@ -34,6 +34,7 @@ func main() {
result := mtrbus.Query( "zh", strings.Replace( update.Message.Text, "@golifehkbot", "", -1 ) )
msg := tgbotapi.NewMessage( update.Message.Chat.ID, result.Message() )
msg.ParseMode = "Markdown"
msg.ReplyToMessageID = update.Message.MessageID
bot.Send( msg )