G
G
galaxy31412021-06-08 13:12:48
Python
galaxy3141, 2021-06-08 13:12:48

How to write in italics?

60bf428cd9653730543235.png
how to write in blue italics

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Krostelev, 2021-06-08
@twistfire92

Apparently it's monospaced text.
When sending a message using the send_message method, you need to add the parameter parse_mode='HTML'
And the text that you want to make monospaced (blue it is displayed in your client. And it's not italic) needs to be framed with a code tag

text = '>>><code>ВРЕМЕНО НЕДОСТУПЕН</code><<<'
bot.send_message(chat_id, text, parse_mode='HTML')

Read more here

H
HemulGM, 2021-06-09
@HemulGM

Italic is slanted text , do you see your slanting?
You just have formatted text. It just needs to be wrapped in three apostrophes. ```TEMPORARILY NOT AVAILABLE```

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question