Skip to content

Conversation

@kzu
Copy link
Member

@kzu kzu commented Apr 9, 2025

We were not surfacing reaction messages separately. This now allows processing user reactions separately from other message types.

Also, type safety when doing Reply and MarkRead wasn't great since users could attempt either operation on a message that doesn't support that kind of interaction (such as status or error messages). So we create two intermediate types, UserMessage (the ones users can interact with, like content and interactive messages), and SystemMessage (reaction, status, error and unsupported).

We also fix the sample to properly report the environment which for some reason is not Development despite envvars being set properly by the Azure Functions tools on local run.

@kzu kzu added the enhancement New feature or request label Apr 9, 2025
@kzu kzu enabled auto-merge (rebase) April 9, 2025 22:52
We were not surfacing reaction messages separately. This now allows processing user reactions separately from other message types.

Also, type safety when doing Reply and MarkRead wasn't great since users could attempt either operation on a message that doesn't support that kind of interaction (such as status or error messages). So we create two intermediate types, UserMessage (the ones users can interact with, like content and interactive messages), and SystemMessage (reaction, status, error and unsupported).

We also fix the sample to properly report the environment which for some reason is not Development despite envvars being set properly by the Azure Functions tools on local run.
@kzu kzu force-pushed the dev/reactions branch from 5100223 to 2d0a2af Compare April 9, 2025 22:55
@kzu
Copy link
Member Author

kzu commented Apr 9, 2025

29 passed 29 passed 2 skipped

🧪 Details on Ubuntu 24.04.2 LTS

from dotnet-retest v0.7.1 on .NET 8.0.15 with 💜 by @devlooped

@kzu kzu merged commit b173f6e into main Apr 9, 2025
7 checks passed
@kzu kzu deleted the dev/reactions branch April 9, 2025 22:57
@devlooped devlooped locked and limited conversation to collaborators May 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants