Auto forwarding message from a channel to chat

This commit is contained in:
hok7z 2022-11-26 17:48:31 +02:00
parent e95551a795
commit 20fbccb6fe
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
from load import dp,types
from load import dp,types, bot
from config import group_id
# TODO: channel post forward in chat
@dp.channel_post_handler()
async def channel_handler(message:types.Message):
pass
await message.forward(group_id)