ParseMode = Markdown
This commit is contained in:
parent
67e3ec1500
commit
25ccd64a88
1
main.go
1
main.go
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user