S
S
selfkilla6662020-06-21 06:52:07
Python
selfkilla666, 2020-06-21 06:52:07

How to track messages in a Telegram channel and then forward it?

There is a public channel where the bot has been added. It is required to track new messages in it, and then forward them to users from the array.

@dispatcher.message_handler()
async def on_message(message: types.Message):
    ...

A simple message handler does not respond to messages from the channel, and I also do not understand how to forward messages to aiogram. There is absolutely nothing in the documentation about message forwarding.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question