Skip to content

feat: react to incoming user messages with a random emoji ack#177

Open
danieliyahu1 wants to merge 1 commit into
grinev:mainfrom
danieliyahu1:feat/bot-reaction-ack
Open

feat: react to incoming user messages with a random emoji ack#177
danieliyahu1 wants to merge 1 commit into
grinev:mainfrom
danieliyahu1:feat/bot-reaction-ack

Conversation

@danieliyahu1

Copy link
Copy Markdown
Contributor

Adds a middleware that reacts to every incoming user message with a random emoji from a curated pool of 26 Telegram-supported reaction emojis.

  • Fire-and-forget — never blocks message processing
  • Registered after auth, before interaction guard — user sees ack even when busy
  • Existing rate-limit retry wrapper handles Telegram rate limits gracefully
  • Includes unit tests for emoji selection

@grinev

grinev commented Jul 3, 2026

Copy link
Copy Markdown
Owner

@danieliyahu1 thanks for the PR. Now bot shows typing indicator when user message is handled. I don't undestand the purpose of this change, what problem this change will solve?

@danieliyahu1

Copy link
Copy Markdown
Contributor Author

@grinev it's much nicer as a user to get a reaction which is more visible to human eye to know the message got to the bot.
The typing is great but less visible, the typing is better for long time response.
This feature is nice to have, I saw it on other agents and liked it more so I thought it will be great to have it here.

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.

2 participants