9 lines
252 B
Python
9 lines
252 B
Python
from pyrogram import filters
|
|
from pyrogram.client import Client
|
|
from pyrogram.types import Message
|
|
|
|
|
|
@Client.on_message(filters.text & filters.private)
|
|
async def echo_reversed(app: Client, message: Message):
|
|
await message.reply(message.text[::-1])
|