chToolsBot Guide - Text Formatting

chToolsBot Guide - Text Formatting


In chToolsBot, you can use the following formatting options for texts:


Unchanged

You can format your text using Telegram itself and send it to the bot. Then, by choosing the unchanged option, the bot will keep the message format.


Simple Text

By choosing this option, the bot will ignore the formatting done by Telegram and the text will be produced without formatting.


HTML Format

To use this format, your text must be prepared according to the following format and sent to the robot:

<b>bold</b>, <strong>bold</strong>
<i>italic</i>, <em>italic</em>
<u>underline</u>, <ins>underline</ins>
<s>strikethrough</s>, <strike>strikethrough</strike>, <del>strikethrough</del>
<span class="tg-spoiler">spoiler</span>, <tg-spoiler>spoiler</tg-spoiler>
<a href="http://www.example.com/">inline URL</a>
<a href="tg://user?id=123456789">inline mention of a user</a>
<code>inline fixed-width code</code>
<pre>pre-formatted fixed-width code block</pre>

💡 You can also use tags nested:

<b>bold <i>italic bold <s>italic bold strikethrough <span class="tg-spoiler">italic bold strikethrough spoiler</span></s> <u>underline italic bold</u></i> bold</b>


Markdown Format

To use this format, your text must be prepared according to the following format and sent to the robot:

*bold text*
_italic text_
[inline URL](http://www.example.com/)
[inline mention of a user](tg://user?id=123456789)
`inline fixed-width code`
```
pre-formatted fixed-width code block
```

💡 This format supports limited tags and also it is not possible to use nested tags.


Markdown V2 Format

To use this format, your text must be prepared according to the following format and sent to the robot:

*bold \*text*
_italic \*text_
__underline__
~strikethrough~
||spoiler||
[inline URL](http://www.example.com/)
[inline mention of a user](tg://user?id=123456789)
`inline fixed-width code`
```
pre-formatted fixed-width code block
```
```python
pre-formatted fixed-width code block written in the Python programming language
```

💡 You can also use tags nested:

*bold _italic bold ~italic bold strikethrough ||italic bold strikethrough spoiler||~ __underline italic bold___ bold*


Report Page