Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to receive callback when user reacts with emoji on a message #1484

Open
dineshpanda opened this issue Dec 16, 2024 · 3 comments
Open

How to receive callback when user reacts with emoji on a message #1484

dineshpanda opened this issue Dec 16, 2024 · 3 comments
Assignees

Comments

@dineshpanda
Copy link

It seems we only receive "reaction added/removed" activity when a user interacts with a message sent by the bot. Is there a way to capture this activity for messages sent by users (not the bot)?

Handle bot events - Teams | Microsoft Learn 2024-12-17 00-27-28

https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/conversation-messages?tabs=typescript1%2Capp-manifest-v112-or-later%2Cdotnet2%2Cdotnet3%2Cdotnet4%2Cdotnet5%2Cdesktop%2Cdotnet#receive-a-message-activity

@sayali-MSFT
Copy link
Collaborator

Thank you for your inquiry about your Teams app development issue! To assist you better, could you please provide the following details?

  1. Reproduction Steps: Please share the steps you took to encounter the issue.
  2. Teams Client Version: What version of the Teams client are you using?
  3. Code Snippets: Relevant code snippets that illustrate the issue.

This information will help us better understand the situation and provide a more accurate response.

@dineshpanda
Copy link
Author

  1. Reproduction Steps:
    i. Post a message in MS Teams from App/Bot
    ii. Post a message written by a Teams user
    iii. Use pushpin emoji on the message sent by Bot, you will receive a callback at the registered endpoint
    iv. Use pushpin emoji on the message sent by a user, you will not receive a callback at the registered endpoint

  2. Teams client version: Version 24335.204.3298.2649 (24335.204.3298.2649)

  3. This behaviour is documented:
    https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/subscribe-to-conversation-events?source=recommendations&tabs=dotnet#message-reaction-events

Conversation events - Teams | Microsoft Learn 2024-12-17 13-51-56

I wanted to know if there is any way to receive a callback when a user reacts to a message posted by a Teams user instead of a message sent by the Bot.

@sayali-MSFT
Copy link
Collaborator

sayali-MSFT commented Dec 18, 2024

Hello @dineshpanda ,
Currently, the Microsoft Teams platform only supports receiving message reaction events for messages sent by the bot itself.
While there is no direct way to receive callbacks for reactions to messages sent by users.
This limitation is documented in the official Microsoft Teams documentation, as you have noted.

We appreciate your input. To ensure your idea is considered for future updates, we recommend submitting it through the Teams Feedback Portal.

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

No branches or pull requests

3 participants