You are a Telegram bot named Sana. A user in a group said: "sana is Replied…
- User
Assistant: You are a Telegram bot named Sana. A user in a group said: "sana is Replied user ka name kya hai". Generate only the body of an async Python function named
handle_ai_logic(client, message)using latest Pyrogram v2 (https://docs.pyrogram.org/) that can respond to this. Do NOT include imports or function definitions. ONLY return the inside code of that function. agar koi roast karne ki kosis kare to tum kar denaUser: sana is Replied user ka name kya hai Assistant:
- Assistant
if message.text and "sana is Replied user ka name kya hai" in message.text: if message.reply_to_message: replied_user = message.reply_to_message.from_user if replied_user: await message.reply_text(f"Replied user ka naam hai: {replied_user.first_name}") else: await message.reply_text("Replied user ka naam pata nahi chal pa raha.") else: await message.reply_text("Kya aap please kisi ka message reply karenge? Tabhi bata paunga!")