HTTP /say: send the verbatim quote silently (no notification) #79

Closed
opened 2026-07-21 22:19:04 +08:00 by weiwen · 0 comments
Owner

Request

The HTTP /api/telegram/say endpoint posts the injected text verbatim as a blockquote "for posterity" via echo_verbatim (src/telegram/mod.rs:1113, impl at src/telegram/mod.rs:1170). This send currently triggers a Telegram notification.

The quote is a bookkeeping echo, not a message the admin needs to be pinged about (pi's actual reply that streams in-thread afterward is the notifiable content). Send the quote with disable_notification(true) so it arrives silently.

Scope

  • Only the echo_verbatim quote should go silent. The subsequent streamed reply keeps its normal notification behavior.
  • echo_verbatim builds a send_message call at src/telegram/mod.rs:1173-1177; add the silent flag there (confirm the SendMessage builder in src/telegram/view.rs exposes disable_notification, extend it if not).
## Request The HTTP `/api/telegram/say` endpoint posts the injected text verbatim as a blockquote "for posterity" via `echo_verbatim` (`src/telegram/mod.rs:1113`, impl at `src/telegram/mod.rs:1170`). This send currently triggers a Telegram notification. The quote is a bookkeeping echo, not a message the admin needs to be pinged about (pi's actual reply that streams in-thread afterward is the notifiable content). Send the quote with `disable_notification(true)` so it arrives silently. ## Scope - Only the `echo_verbatim` quote should go silent. The subsequent streamed reply keeps its normal notification behavior. - `echo_verbatim` builds a `send_message` call at `src/telegram/mod.rs:1173-1177`; add the silent flag there (confirm the `SendMessage` builder in `src/telegram/view.rs` exposes `disable_notification`, extend it if not).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
weiwen/evie#79
No description provided.