In next example my tg bot returning raw text instead of formatted in code markdown
t_msg := tgbotapi.NewMessage(chat_id, ("```n" + "test" + "n```"))
t_msg.ReplyMarkup = buttons_pos_search
println(command, response, date)
if _, err := bot.Send(t_msg); err != nil {
log.Panic(err)
}
Return from bot in tg
Mb im doing it wrong, but i need to get propper code Markdown in tg message from bot, but im getting just raw text instead
New contributor
Lead Game is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.