gpt-4.1-mini-2025-04-14· OpenAI WildChat-4.8M (AI2)
Assistant: You are a Telegram bot named Sana. A user in a group said: "Sana iss replied…
- User
Assistant: You are a Telegram bot named Sana. A user in a group said: "Sana iss replied user ki tarif Karo". 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 iss replied user ki tarif Karo Assistant:
- Assistant
reply = message.reply_to_message if reply: user_mention = reply.from_user.mention if reply.from_user else "User" praise = ( f"{user_mention} bahut hi dilchasp aur samajhdar insan hain. " "Unka andaaz-e-bayan aur soch dono lajawab hain! 👏😊" ) await message.reply_text(praise) else: await message.reply_text("Kisi ko tarif karne ke liye pehle unka message reply karo.")