test(telegram): cover draft streaming paths and simplify stream modes

This commit is contained in:
Chummy 2026-02-18 16:29:40 +08:00
parent e21fe1ff55
commit e326e12039
3 changed files with 72 additions and 9 deletions

View file

@ -1449,9 +1449,6 @@ pub enum StreamMode {
Off,
/// Update a draft message with every flush interval.
Partial,
/// Update a draft message in larger chunks (reserved for future use;
/// currently behaves the same as `Partial`).
Block,
}
fn default_draft_update_interval_ms() -> u64 {