X
X
Xacker_Name2021-10-26 16:41:37
Python
Xacker_Name, 2021-10-26 16:41:37

How to send messages on aiogram'e with some formatting?

How to send messages on aiogram'e with some formatting?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananchenko, 2021-10-26
@rt2233

client.send_message(message.chat.id, '`test`', parse_mode = 'Markdown')

parse_mode - Many modules use just such garbage to format text, or rather, you should look in the documentation of your module
. For telebot and pyrogram, it gives the following result:
bwVEyGy.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question