Spaces:
Running
Running
Update chatbot/plugins/join_request.py
Browse files
chatbot/plugins/join_request.py
CHANGED
@@ -350,7 +350,7 @@ async def refresh_captcha_callback(client: Client, cb: CallbackQuery):
|
|
350 |
keyboard = InlineKeyboardMarkup(buttons)
|
351 |
try:
|
352 |
await cb.edit_message_media(
|
353 |
-
media=InputMediaPhoto(
|
354 |
reply_markup=keyboard
|
355 |
)
|
356 |
logger.info(f"Updated CAPTCHA image for user {user_id}.")
|
|
|
350 |
keyboard = InlineKeyboardMarkup(buttons)
|
351 |
try:
|
352 |
await cb.edit_message_media(
|
353 |
+
media=InputMediaPhoto(img_path),
|
354 |
reply_markup=keyboard
|
355 |
)
|
356 |
logger.info(f"Updated CAPTCHA image for user {user_id}.")
|