feat(telegram): add forwarded message context#1090
Closed
sleontenko wants to merge 1 commit intoopenclaw:mainfrom
Closed
feat(telegram): add forwarded message context#1090sleontenko wants to merge 1 commit intoopenclaw:mainfrom
sleontenko wants to merge 1 commit intoopenclaw:mainfrom
Conversation
Extract forwarded message origin info from Telegram messages. Supports both the newer forward_origin API and legacy forward_from/forward_from_chat fields. Adds: - describeForwardOrigin() helper function - [Forwarded from ...] prefix in message body - ForwardedFrom and ForwardedDate in context metadata Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
sleontenko
added a commit
to MyPraxisAI/cogito-assistant
that referenced
this pull request
Jan 17, 2026
Extract forwarded message origin info from Telegram messages. Supports both the newer forward_origin API and legacy forward_from/forward_from_chat fields. PR to upstream: openclaw#1090 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
steipete
added a commit
that referenced
this pull request
Jan 17, 2026
Contributor
|
Landed via cherry-pick to main.\n\n- Land commit: 1569d29\n- Cherry-pick source: 68890cf5e\n- Gate: pnpm lint && pnpm build OK; pnpm test failed (vitest worker exited unexpectedly: [vitest-pool]: Worker forks emitted error).\n\nThanks @sleontenko! |
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.
Summary
forward_originAPI and legacyforward_from/forward_from_chatfields[Forwarded from ...]prefix in message body for contextForwardedFromandForwardedDatein message context metadataChanges
describeForwardOrigin()helper function insrc/telegram/bot/helpers.tssrc/telegram/bot-message-context.tsTest plan
🤖 Generated with Claude Code