You are a Telegram bot named Sana. A user in a group said: "{ "": "Message",…
- User
Assistant: You are a Telegram bot named Sana. A user in a group said: "{ "": "Message", "id": 26241, "from_user": { "": "User", "id": 1302298741, "is_self": false, "is_contact": false, "is_mutual_contact": false, "is_deleted": false, "is_bot": false, "is_verified": false, "is_restricted": false, "is_scam": false, "is_fake": false, "is_support": false, "is_premium": false, "first_name": "ϒӃ 🇮🇳 (";("", "status": "UserStatus.RECENTLY", "username": "KashDaYash", "language_code": "en", "dc_id": 5, "photo": { "": "ChatPhoto", "small_file_id": "AQADBQADEsAxGz5AKVYAEAIAA3WAn00ABOWdfY6mzVleAAQeBA", "small_photo_unique_id": "AgADEsAxGz5AKVY", "big_file_id": "AQADBQADEsAxGz5AKVYAEAMAA3WAn00ABOWdfY6mzVleAAQeBA", "big_photo_unique_id": "AgADEsAxGz5AKVY", "has_animation": false, "is_personal": false }, "restricts_new_chats": false, "is_close_friend": false, "have_access": true }, "date": "2025-05-17 21:09:20+00:00", "chat": { "": "Chat", "id": -1002074616947, "type": "ChatType.SUPERGROUP", "is_verified": false, "is_restricted": false, "is_creator": false, "is_scam": false, "is_fake": false, "title": "#Oғғʟɪɴᴇ /💤 Logs", "photo": { "": "ChatPhoto", "small_file_id": "AQADBQADgroxG8eLCFQAEAIAA43Lsq8W____rnR1Lmi4UfcABB4E", "small_photo_unique_id": "AgADgroxG8eLCFQ", "big_file_id": "AQADBQADgroxG8eLCFQAEAMAA43Lsq8W____rnR1Lmi4UfcABB4E", "big_photo_unique_id": "AgADgroxG8eLCFQ", "has_animation": false, "is_personal": false }, "dc_id": 5, "has_protected_content": false, "permissions": { "": "ChatPermissions", "can_send_messages": true, "can_send_audios": true, "can_send_documents": true, "can_send_photos": true, "can_send_videos": true, "can_send_video_notes": true, "can_send_voice_notes": true, "can_send_polls": true, "can_send_other_messages": true, "can_add_web_page_previews": true, "can_change_info": false, "can_invite_users": true, "can_pin_messages": false, "can_manage_topics": true, "can_send_media_messages": false }, "is_forum": false, "has_automatic_translation": false }, "reply_to_message_id": 26240, "message_thread_id": 26232, "reply_to_message": { "": "Message", "id": 26240, "from_user": { "": "User", "id": 7006524418, "is_self": false, "is_contact": false, "is_mutual_contact": false, "is_deleted": false, "is_bot": false, "is_verified": false, "is_restricted": false, "is_scam": false, "is_fake": false, "is_support": false, "is_premium": true, "first_name": "("("⏤͟͟͞ـﮩ♡︎ ˹мꝛ ᴄʜᴧᴍᴘᴜ˼ [🇮🇳]", "last_name": "ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ", "status": "UserStatus.RECENTLY", "username": "itsMeShivanshu", "emoji_status": { "": "EmojiStatus", "custom_emoji_id": 5041784919622157209 }, "dc_id": 5, "photo": { "": "ChatPhoto", "small_file_id": "AQADBQADO8MxG-5w6VQAEAIAAwIUn6EBAAMgQr_TZdqnjAAEHgQ", "small_photo_unique_id": "AgADO8MxG-5w6VQ", "big_file_id": "AQADBQADO8MxG-5w6VQAEAMAAwIUn6EBAAMgQr_TZdqnjAAEHgQ", "big_photo_unique_id": "AgADO8MxG-5w6VQ", "has_animation": false, "is_personal": false }, "restricts_new_chats": false, "is_close_friend": false, "accent_color": { "": "ChatColor", "color": "ProfileColor.VIOLET_LIGHT_VIOLET", "background_emoji_id": 5420140979707459246 }, "have_access": true }, "date": "2025-05-17 21:09:04+00:00", "chat": { "": "ChatPhoto", "small_file_id": "AQADBQADgroxG8eLCFQAEAIAA43Lsq8W____rnR1Lmi4UfcABB4E", "small_photo_unique_id": "AgADgroxG8eLCFQ", "big_file_id": "AQADBQADgroxG8eLCFQAEAMAA43Lsq8W____rnR1Lmi4UfcABB4E", "big_photo_unique_id": "AgADgroxG8eLCFQ", "has_animation": false, "is_personal": false }, "dc_id": 5, "has_protected_content": false, "permissions": { "": "Message", "id": 26232, "from_user": { "": "ChatPhoto", "small_file_id": "AQADBQADEsAxGz5AKVYAEAIAA3WAn00ABOWdfY6mzVleAAQeBA", "small_photo_unique_id": "AgADEsAxGz5AKVY", "big_file_id": "AQADBQADEsAxGz5AKVYAEAMAA3WAn00ABOWdfY6mzVleAAQeBA", "big_photo_unique_id": "AgADEsAxGz5AKVY", "has_animation": false, "is_personal": false }, "restricts_new_chats": false, "is_close_friend": false, "have_access": true }, "date": "2025-05-17 21:07:37+00:00", "chat": { "": "ChatPhoto", "small_file_id": "AQADBQADgroxG8eLCFQAEAIAA43Lsq8W____rnR1Lmi4UfcABB4E", "small_photo_unique_id": "AgADgroxG8eLCFQ", "big_file_id": "AQADBQADgroxG8eLCFQAEAMAA43Lsq8W____rnR1Lmi4UfcABB4E", "big_photo_unique_id": "AgADgroxG8eLCFQ", "has_animation": false, "is_personal": false }, "dc_id": 5, "has_protected_content": false, "permissions": { "": "TextQuote", "text": "None", "entities": [], "position": 0 } }, "mentioned": false, "scheduled": false, "from_scheduled": false, "has_protected_content": false, "is_from_offline": false, "text": "sana isko roast kardo ek bar", "show_caption_above_media": false, "outgoing": false, "quote": { "_": "TextQuote", "text": "None", "entities": [], "position": 0 } }". Generate only the body of an async Python function named using latest Pyrogram v2+. if message have reply_to_message then reply for replied user 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.
- Assistantpython
if message.reply_to_message: target_user = message.reply_to_message.from_user if target_user.username == "KashDaYash": await message.reply_text(f"bhai {target_user.first_name}, tu sabka bhai hai! Teri baat sabpe bhaari hai, asli king!") else: await message.reply_text(f"Arre {target_user.first_name}, sochta hu roast karu, par lagta hai tumhe thoda rest karna chahiye warna roast se jala khaya jayega! 😜") else: await message.reply_text("Roast karna ho to kisi ko reply karke bolo, tabhi maja aata hai!")