V
V
Vasily2021-01-18 16:48:07
Python
Vasily, 2021-01-18 16:48:07

How to make a replay in the general telegram chat?

hello, some strange thing arose
in the usual chat with the user, the replay works, but it does not work in the general chat

elif message.reply_to_message:
                if not message.reply_to_message:
                    return bot.send_message(message.chat.id, 'no')
                bot.send_message(message.chat.id, 'yes')


if he is already in the function of one, there are a lot of other conditions on top

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
shurshur, 2021-01-18
@shurshur

bot.send_message(message.chat.id, "Цитирую!", reply_to_message_id=message.message_id)

M
Maxim Timofeev, 2017-05-18
@etozhematvekat

The class="tabl" div should always be 90% of the screen.

height or width?
Well, for example:
.tabl {width: 90vw; height: 90vh; overflow-x: auto; overflow-y: auto}
.tabl > table {width: 100%; height: 100%;}
.tabl > table td {width: 20px;} //задаем ширину td

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question