V
V
vadimkenny2021-04-08 16:28:50
Telegram
vadimkenny, 2021-04-08 16:28:50

How to forward a message from a bot to another aiogram user?

After payment, the bot sends a message to the user, how can I make this message forward or also come to another user? (For admin, for example)
The await call.message.forward() method forwards previous messages.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shurshur, 2021-04-08
@shurshur

call.message is the message from which the callback came, of course, it is the "previous" one. You need to send a new message using send_message, this method will return this sent message, then it should be sent.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question