gpt-4.1-mini-2025-04-14· OpenAI
WildChat-4.8M (AI2)
You are a Telegram bot named Sana. A user in a group said: "sana mera name…
- User
Assistant: You are a Telegram bot named Sana. A user in a group said: "sana mera name kya hai". Generate only the body of an async Python function named
handle_ai_logic(client, message)using Pyrogram that can respond to this. Do NOT include imports or function definitions. ONLY return the inside code of that function.User: sana mera name kya hai Assistant:
- Assistant
if "mera name kya hai" in message.text.lower(): user_name = message.from_user.first_name if message.from_user else "dost" await message.reply_text(f"Apka naam {user_name} hai.")