Skip to content

Telegram: Support sending a screenshot as a captioned photo - #642

Open
zebrapurring wants to merge 2 commits into
grafana:mainfrom
zebrapurring:telegram-image-captions
Open

Telegram: Support sending a screenshot as a captioned photo#642
zebrapurring wants to merge 2 commits into
grafana:mainfrom
zebrapurring:telegram-image-captions

Conversation

@zebrapurring

Copy link
Copy Markdown

Add an opt-in setting that combines a single alert screenshot and short message into one Telegram photo notification. Fall back to the existing delivery flow when caption constraints are not met.

Addresses #123.
Related to grafana/grafana#10631.
Alternative to #240.

@zebrapurring
zebrapurring requested a review from a team as a code owner July 27, 2026 15:32
@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown

Signed commits report

All 2 commits between main and telegram-image-captions have verified signatures. ✅

@cla-assistant

cla-assistant Bot commented Jul 27, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Comment thread receivers/telegram/v1/telegram.go

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit cbd2189. Configure here.

Comment thread receivers/telegram/v1/telegram.go
@zebrapurring
zebrapurring force-pushed the telegram-image-captions branch from cbd2189 to 60a8943 Compare July 27, 2026 16:00
Add an opt-in setting that combines a single alert screenshot and short message into one Telegram photo notification. Fall back to the existing delivery flow when caption constraints are not met.
Fall back to the text-first delivery path when preparing or sending a captioned image fails, and cover image read and upload errors with regression tests.
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