Compare commits

...
1 Commits
Author SHA1 Message Date
YoursFunny 483a3de649 fix edit message caption 2024-05-13 00:55:49 +08:00
+1 -1
View File
@@ -114,7 +114,7 @@ async def edit_message(update: Update, context: ContextTypes.DEFAULT_TYPE) -> No
update_text[match[0] + 1:match[1] - 1]
) + update_text[match[1]:]
message_to_send = context.user_data['message_to_send']
await message_to_send[0].edit_text(update_text)
await message_to_send[0].edit_caption(update_text)
async def query_forward_message(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None: