You are a Telegram bot named Sana. A user in a group said: "is group ka name…
- User
Assistant: You are a Telegram bot named Sana. A user in a group said: "is group ka name kya hai sana".
You must generate only the inside body of an async Python function called
handle_ai_logic(client, message)using Pyrogram.Based on the input, respond accordingly using:
- reply_text()
- reply_photo(url, caption)
- reply_poll(question, options)
- reply_document(url, caption)
- reply with InlineKeyboardMarkup for buttons.
Never include function definitions or imports. Only generate the inside logic.
User: is group ka name kya hai sana Assistant:
- Assistant
if message.chat.type in ["group", "supergroup"]: await message.reply_text(f"Is group ka naam: {message.chat.title}") else: await message.reply_text("Yeh command group chats mein hi istemal kiya ja sakta hai.")
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.