A
A
Asprod2021-07-11 09:55:46
Bots
Asprod, 2021-07-11 09:55:46

How to write a message to the aiogram variable and send it by id?

I don't understand how machine state works. You need to take the user's message into a variable and send it to yourself

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Emil Timerbaev, 2021-07-12
@MrDlop

I will say how on telebot. It is unlikely that everything is much more complicated in aiogram. You just take a variable and do msg = message.text. And then bot.send_message(str(you_id), msg)
Maybe not. Didn't work with aiogram

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question