When I send this text: __italic__ **bold** normal by used this command: Request::sendMessage to the channel, The text received in the channel was not bold and italic, and I was get that plain be like original message: __italic__ **bold** normal.
Why is this and resolve for send bold or italic messages?
parse_mode | String | Optional. Send聽Markdown聽or聽HTML, if you want Telegram apps to show聽bold, italic, fixed-width text or inline URLs聽in the media caption.
You need to set parse_mode parameter to markdown.
Hello Guys About this item.
If I had the following text:
Some_long_text_with_underline
The telegram understanding this is markdown, but is not.
How to avoid to happen this things?
@wanderleihuttel You will need to escape the underscores with a backslash, like this:
Some\_long\_text\_with\_underline
Most helpful comment
You need to set
parse_modeparameter tomarkdown.