Set the Telegram API parse_mode parameter to HTML
and wrap the message in <pre></pre>
, but remember that telegram API does not support nested tags.
<pre>
| Tables | Are | Cool |
|----------|:-------------:|------:|
| col 1 is | left-aligned | $1600 |
| col 2 is | centered | $12 |
| col 3 is | right-aligned | $1 |
</pre>
Result in Telegram messanger:

Updated. How convert the tables in the picture
There will be a problem on the small screens of smartphones. So this method is not good. The only option is to convert the tables in the picture and so send :
- Or you can convert HTML to image using a headerless browser on your server.
- Or you can convert HTML to image using here external API services
- Or you can convert HTML to image using more difficult way by php GD