C
C
COSTYLE2019-01-17 16:23:39
Python
COSTYLE, 2019-01-17 16:23:39

How to make line break in Telegram bot for pyTelegramBotApi?

I parsed the text from the site and saved it to a variable, then I wanted to make a line break, but it doesn’t work. you need to make sure that get.text is on a new line
pogoda = p[0].get.Text()

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
ximik666, 2019-01-17
@ximik666

"\n" - standard line break, works in telegram.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question