I try to send a telegram message from python through the api, the message is a preformed text like the following:
message = (f"```test: Hello World n"
f"time : {datetime.datetime.now()}```")
but I only receive the following in the telegram bot:
As you can see in the image, the word test:
is missing
From now, thank you for you help guys!
2
Answers
After some time reading on the internet, I found this other solution:
Add a newline(
n
) after the markdown syntax: