help.chat-api.com

How to format and change the text of a message in messengers?

messengers allows you to format the text inside your messages. Please note that it is not possible to disable this feature.

Italic
To italicize a message, place an underscore on both sides of the text:

_text_

Bold
To highlight a message in bold, place an asterisk on both sides of the text:

*text*

 Crossed out
To cross out your message, place a tilde on both sides of the text:

~text~

Monospaced font
To do this, place three reverse labels on both sides of the text:

`'text ``

Line break
You can break the message text via the API using a Post request \n
And also via Get, if you send %0A, for example: body = 1%0A2,
we will get:
1
2

Was this article helpful?

Your opinion will be used to improve the content of the article

The Most Multifunctional API Provider

Chat API has been operating since 2015 and is one of the first and largest providers in Eastern Europe.

Here are some curious and important figures:

  • We have tremendous expertise in docker container management at scale with an SLA of 99.5+%;
  • Chat API involves in its work more than 200 servers, with the ability to quickly connect another 100;
  • 3200 cores and 25 terabytes of RAM;
  • 200+ methods and features that keep adding;
  • Highload system, Up Time servers 99.9%;
  • Support 24\7;
Get access to the API