Skip to content

Preserve operator media captions for Telegram attachments#73

Open
mysubcult wants to merge 3 commits into
LiveHelperChat:masterfrom
mysubcult:operator-media-caption
Open

Preserve operator media captions for Telegram attachments#73
mysubcult wants to merge 3 commits into
LiveHelperChat:masterfrom
mysubcult:operator-media-caption

Conversation

@mysubcult

Copy link
Copy Markdown
Contributor

Preserve captions for media messages sent by an operator from Telegram topics and update the bundled Telegram REST API template to pass captions with file API requests.\n\nRelated core PR: LiveHelperChat/livehelperchat#2394

@mysubcult

Copy link
Copy Markdown
Contributor Author

Updated to match LiveHelperChat/livehelperchat#2394 feedback.\n\nThe Telegram REST API config now sets suburl_file_skip_ext to gs, so the core can keep this provider-specific caption limitation in back office configuration instead of hardcoding the extension.

@mysubcult mysubcult closed this Jun 24, 2026
@mysubcult mysubcult force-pushed the operator-media-caption branch from 511edb9 to 81d8670 Compare June 24, 2026 12:53
@mysubcult mysubcult reopened this Jun 24, 2026
@mysubcult

Copy link
Copy Markdown
Contributor Author

Rebased this PR on the latest upstream master and reopened it. The functional changes are the same: preserve incoming media captions and set the REST API template skip extension field to gs so sticker-specific behavior remains configuration-driven.

@mysubcult

Copy link
Copy Markdown
Contributor Author

Added a small follow-up fix for Telegram GIFs/animations. Telegram reports GIF messages as �nimation, so the command now treats �nimation as a supported media type, stores it as a chat file, and keeps the caption path consistent with other media.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant