bot-api/telegram

send html message error

playmyswift opened this issue · 0 comments

html : <a>xxx</a>
mycode:

msg := telegram.NewMessagef(update.Chat().ID, newListStr, arg)
msg.ParseMode = telegram.MarkdownMode
_, err := api.SendMessage(ctx, msg)

error

response map[data:{"ok":false,"error_code":400,"description":"Bad Request: can't parse entities in message text: Unexpected end of name token at byte offset 8"}]