mirror of
https://github.com/Xtao-Labs/mail2telegram.git
synced 2024-11-21 14:38:21 +00:00
8 lines
255 B
Python
8 lines
255 B
Python
from pyrogram import Client, filters
|
|
from pyrogram.types import Message
|
|
|
|
|
|
@Client.on_message(filters.incoming & filters.private & filters.command(["ping"]))
|
|
async def ping_command(_: Client, message: Message):
|
|
await message.reply("pong~", quote=True)
|