Skip to content

Add support for telegram bot#90

Open
tobiaslins wants to merge 11 commits intomainfrom
add-telegram-support
Open

Add support for telegram bot#90
tobiaslins wants to merge 11 commits intomainfrom
add-telegram-support

Conversation

@tobiaslins
Copy link

@tobiaslins tobiaslins commented Feb 24, 2026

Summary

  • Handles Telegram message, callback_query, and message_reaction updates, with thread mapping via chatId[:messageThreadId].
  • Implements core bot operations: send/edit/delete messages, typing indicators, fetch messages, and thread/channel metadata.
  • Supports Telegram-native UX: mentions, reactions, file/document uploads, markdown/fallback text rendering, and card actions via inline keyboard callbacks (including multi-row buttons).
  • Includes robust error mapping from Telegram API responses to adapter errors, plus comprehensive tests for webhook auth/parsing, callbacks, reactions, pagination, metadata, and failure paths.
image image

Test plan

@vercel
Copy link
Contributor

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
chat Ignored Ignored Preview, Open in v0 Feb 26, 2026 3:44pm

@github-actions
Copy link
Contributor

Preview Branch Testing

To test this PR with real webhook traffic:

  1. Go to /settings on the production deployment
  2. Enter this PR's Vercel preview URL
  3. Save — all webhook requests will now be proxied to this preview

To disable: Clear the URL on the settings page.

@tobiaslins tobiaslins marked this pull request as ready for review February 25, 2026 14:44
@tobiaslins tobiaslins requested a review from visyat February 26, 2026 13:14
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