x := `**This is a test message**
My channel: @JustTest
<pre>
fmt.Println("test")
</pre>`
_, err = msg.Reply(x, telegram.SendOptions{
ParseMode: telegram.HTML,
})
if err != nil {
fmt.Println(err)
}
Error
2024/08/09 11:03:38 [debug] gogram [mtproto] - rpc - response: *objects.RpcError
sending MessagesSendMessage: [ENTITY_BOUNDS_INVALID] A specified [entity offset or length](/api/entities#entity-length) is invalid, see [here »](https://core.telegram.org/api/entities#entity-length) for info on how to properly compute the entity offset/length. (code 400)
Code
Error