Learn how to send preformatted code in a Telegram message from your Windows or macOS computer.
Steps

Step 1. Copy the code you want to send
To do this, select the code in a file or application, then press Ctrl + C (Windows) or ⌘ Cmd + C (macOS).

Step 2. Open Telegram
If you are on Windows, you will find the application in the menu

. If you have macOS, it should be in the Applications folder.

Step 3. Click on the contact to which you want to send the code
A conversation with this contact will then open.

Step 4. Click the Write Message box
She's at the bottom of the conversation.

Step 5. Enter ``
You don't need to add a space. To keep the code in an easy-to-read format, add three `(grave accent) to the beginning and end of the code.

Step 6. Press Ctrl + V (Windows) or ⌘ Cmd + V (macOS).
The code is then copied into the entry area.

Step 7. Enter ``
Your code should then be surrounded by three grave accents.

Step 8. Press Enter Where Return.
The code will appear in the conversation in its original format.