Repository navigation
Conversation
Telegram numbers scheduled messages apart from sent ones, so `messages edit` on a scheduled id failed with MESSAGE_ID_INVALID and `messages delete` with the same number could hit an old sent message. The adapter now implements cli-core 0.706.0's scheduled actions: `messages scheduled cancel|edit|send` take only ids from the scheduled list. An edit to the same text and time counts as done; a cancel without an answer is an unknown outcome. Pins @wirecat/cli-core 0.706.0 and @wirecat/cli-base 0.122.0, and regenerates the manifest, command docs and Bot API types for them. adapter.ts sits at its 650-line limit, so the new delegations and two neighbours are one-line arrow fields, as the bots and chat-list ones are. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task
tgcould schedule a message and list scheduled ones, but not cancel, edit or send one early. The owner cancelled in the Telegram app.Why
Telegram numbers scheduled messages apart from sent ones.
messages editon a scheduled id failed withMESSAGE_ID_INVALID.messages deletewith the same number could delete an old sent message in that chat.What
tg <profile> messages scheduled cancel|edit|send <chat> <id>through cli-core 0.706.0's scheduled actions (feat(messages): cancel, edit and send now a scheduled message cli-core#3139). They take only ids from the scheduled list.--at-time) or both. An edit to the same text and time counts as done. A cancel with no answer is an unknown outcome.@wirecat/cli-core0.706.0 and@wirecat/cli-base0.122.0. Regenerated the manifest,docs/commands.mdand the Bot API types for them.adapter.tsis at its 650-line lint limit. The new delegations and two neighbouring ones (permalink,scheduled) are one-line arrow fields, like the bots and chat-list ones already are.Testing
pnpm test: 2322 passed, 6 skipped. New adapter tests cover cancel/edit/send by scheduled id, the same-text edit, and the unknown cancel outcome.pnpm typecheck,pnpm lint(2 warnings, both already on main),pnpm ci:quick,pnpm docs:check,pnpm generate:check.🤖 Generated with Claude Code