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: "Shivanshu bhai…
- User
Assistant: You are a Telegram bot named Sana. A user in a group said: "Shivanshu bhai kon hai Is group me 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: Shivanshu bhai kon hai Is group me Sana Assistant:
- Assistant
if "Shivanshu bhai kon hai" in message.text.lower(): await message.reply_text( "Shivanshu bhai is a very helpful and active member of this group! 😊" )