fix: split long message forwards

This commit is contained in:
2026-09-25 01:49:29 +08:00
parent d8b9a06453
commit 7b816d4153
4 changed files with 89 additions and 31 deletions
@@ -107,6 +107,7 @@ async fn handle_callback(
from_chat_id: edit.chat_id,
to_chat_id: channel_id,
message_ids: edit.forward_message_ids.clone(),
forward_offset: 0,
notify_chat_id: Some(chat_id),
notify_message_id: Some(prompt_message_id),
};
+1
View File
@@ -253,6 +253,7 @@ mod tests {
from_chat_id: 1,
to_chat_id: 2,
message_ids: vec![3],
forward_offset: 0,
notify_chat_id: None,
notify_message_id: None,
}));