Skip to content

[Docs] Add in-depth guide for message reactions#2718

Merged
corinagum merged 5 commits into
mainfrom
feat/msg-reactions
May 14, 2026
Merged

[Docs] Add in-depth guide for message reactions#2718
corinagum merged 5 commits into
mainfrom
feat/msg-reactions

Conversation

@rido-min
Copy link
Copy Markdown
Member

@rido-min rido-min commented Feb 23, 2026

Summary

Adds an in-depth guide for message reactions covering outbound add/remove and inbound messageReaction handling, plus links the existing "Reactions" section in the Sending Messages essentials page to the new guide.

What's covered in the guide

  • Public-developer-preview banner
  • Adding and removing reactions (api.reactions.add / api.reactions.delete / Reactions.AddAsync / Reactions.DeleteAsync)
  • Receiving reactions: messageReaction activity handlers across all three SDKs, plus the .NET-only OnMessageReactionAdded / OnMessageReactionRemoved sub-handlers
  • Available reaction types — the modern set of 6 (like, heart, 1f440_eyes, 2705_whiteheavycheckmark, launch, 1f4cc_pushpin)
  • Skin tone variants (-tone1-tone5)
  • Rate limits (2 reactions/sec, 429 + Retry-After)
  • Best practices and differences from Feedback

What's intentionally omitted

  • Custom reactions section — aligned with the Microsoft Learn agent reactions PR (msteams-docs#13991), which is omitting custom reaction examples due to a known client-side rendering issue. A commented-out link to the Learn reactions reference remains in the source for restoration once that PR lands.
  • Advanced API client usage — the previous draft's example referenced an ApiClient constructor that doesn't exist in the current SDK; removed rather than rewritten.

Coordination

Test plan

  • npm start regenerates docs cleanly with no content gaps
  • Per-language renders (TS / Python / C#) verified in the dev server
  • Cross-link from essentials/sending-messages → in-depth guide resolves correctly
  • Visual review on the deployed preview

Comment thread teams.md/src/components/include/in-depth-guides/message-reactions/python.incl.md Outdated
@corinagum corinagum force-pushed the feat/msg-reactions branch from 4e5c210 to cb0b081 Compare May 8, 2026 19:18
Copilot AI review requested due to automatic review settings May 8, 2026 19:18
Comment thread teams.md/src/pages/templates/in-depth-guides/message-reactions.mdx
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new in-depth documentation page for Teams message reactions and updates the “Sending Messages” essentials page to point to it, with new per-language include fragments for C#, Python, and TypeScript.

Changes:

  • Add new in-depth guide page: “Message Reactions” (preview note, add/remove/receive, reaction IDs, skin tones, rate limits, best practices).
  • Add new language include fragments with reaction code samples for TypeScript/Python/C#.
  • Update “Sending Messages” essentials page to reflect preview status and link to the new guide; remove the old reactions preview-note include fragments.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
teams.md/src/pages/templates/in-depth-guides/message-reactions.mdx New in-depth guide page covering message reactions concepts and guidance.
teams.md/src/pages/templates/essentials/sending-messages/README.mdx Updates “Reactions” section to preview + links to the new guide.
teams.md/src/components/include/in-depth-guides/message-reactions/typescript.incl.md TypeScript samples for adding/removing/listening to reactions + example IDs.
teams.md/src/components/include/in-depth-guides/message-reactions/python.incl.md Python samples for adding/removing/listening to reactions + example IDs.
teams.md/src/components/include/in-depth-guides/message-reactions/csharp.incl.md C# samples for reactions + experimental opt-in guidance.
teams.md/src/components/include/essentials/sending-messages/typescript.incl.md Removes now-unused reactions preview-note section.
teams.md/src/components/include/essentials/sending-messages/python.incl.md Removes now-unused reactions preview-note section.
teams.md/src/components/include/essentials/sending-messages/csharp.incl.md Removes now-unused reactions preview-note section (moved to new guide).

Comment thread teams.md/src/components/include/in-depth-guides/message-reactions/csharp.incl.md Outdated
Comment thread teams.md/src/components/include/in-depth-guides/message-reactions/csharp.incl.md Outdated
Comment thread teams.md/src/components/include/in-depth-guides/message-reactions/csharp.incl.md Outdated
Comment thread teams.md/src/pages/templates/in-depth-guides/message-reactions.mdx
@corinagum corinagum force-pushed the feat/msg-reactions branch from c13452a to 2dc2acc Compare May 11, 2026 17:24
Copy link
Copy Markdown
Contributor

@MSFTRickyCastaneda MSFTRickyCastaneda left a comment

Choose a reason for hiding this comment

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

Looks good to me Corina, +1 to needing to publish the Teams Reaction Reference page once it's been live from Learn :)

Copy link
Copy Markdown
Member

@nickwalkmsft nickwalkmsft left a comment

Choose a reason for hiding this comment

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

I saw the recent review activity and so gave it a quick pass. Looks great!

Comment thread teams.md/src/pages/templates/in-depth-guides/message-reactions.mdx
Comment thread teams.md/src/components/include/in-depth-guides/message-reactions/csharp.incl.md Outdated
@corinagum corinagum force-pushed the feat/msg-reactions branch from 2dc2acc to dd92799 Compare May 13, 2026 16:49
@corinagum
Copy link
Copy Markdown
Collaborator

Ok to merge - waiting on green light from reactions / learn docs side.

rido-min and others added 5 commits May 14, 2026 11:35
Per project convention (#2735), C# handler lambdas take
(context, cancellationToken) and thread the token through Send,
Task.Delay, and SDK calls. The reactions guide didn't follow this.

Uses named-arg form (cancellationToken: cancellationToken) for the
reaction API calls because AddAsync / DeleteAsync have an optional
AgenticIdentity parameter sitting between reactionType and the token.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@corinagum corinagum force-pushed the feat/msg-reactions branch from ffecbc0 to 42b1950 Compare May 14, 2026 18:41
@corinagum corinagum merged commit a266e1d into main May 14, 2026
2 checks passed
@corinagum corinagum deleted the feat/msg-reactions branch May 14, 2026 18:57
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.

6 participants