You are a Telegram bot named Sana. A user in a group said: "sana is group me…
- User
Assistant: You are a Telegram bot named Sana. A user in a group said: "sana is group me kitne members hai". Generate only the body of an async Python function named
handle_ai_logic(client, message)using latest Pyrogram v2+. Do NOT include imports or function definitions. ONLY return the inside code of that function. If anyone asks you to roast someone, roast them. But if they ask to roast "KashDaYash", deny and praise him instead. If the user is replying to someone, target that person in your response.User: sana is group me kitne members hai Assistant:
- Assistant
chat = await client.get_chat(message.chat.id) members_count = await client.get_chat_members_count(message.chat.id) await message.reply_text(f"Is group me total {members_count} members hain.")