This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyrogram import Client | |
from pyrogram.types import Message | |
from pyrogram.raw import functions, types | |
async def forward_to_topic( | |
source_channel_id: int, destination_channel_id: int, | |
forwarded_message_id: int, topic_init_message_id: int, client: Client) -> Message: | |
""" | |
Forward a message from one channel to another channel and associate it with a specified topic using raw functions, |