mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-10-18 03:22:14 +00:00
fix: split long message forwards
This commit is contained in:
@@ -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),
|
||||
};
|
||||
|
||||
@@ -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,
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user