Chat SDK adds reactions and ephemeral messages for Teams

Build more interactive Microsoft Teams bots with native reaction and ephemeral message support via the Chat SDK.
30-Second TL;DR
What Changed
Added support for postEphemeral() to send targeted messages
Why It Matters
These features enable developers to build more interactive and professional bot experiences within Microsoft Teams. The ability to send ephemeral messages is particularly useful for permission prompts and status updates.
What To Do Next
Implement postEphemeral() in your Teams bot to handle sensitive or targeted user prompts more securely.
Key Points
- •Added support for postEphemeral() to send targeted messages
- •Bots can now add or remove reactions on Teams messages
- •Improved conversation routing to distinguish group chats from DMs
- •Custom token factory support for authentication without static secrets
Deep Insight
AI-generated analysis for this event — not the original article.
Enhanced Key Takeaways
- •The integration leverages the Microsoft Bot Framework SDK under the hood to ensure compatibility with Teams' specific activity schemas.
- •Vercel's implementation includes a new middleware layer that automatically handles the translation between Vercel Chat SDK events and Teams-specific JSON payloads.
- •The update addresses a long-standing limitation where developers previously had to manually manage state for ephemeral message IDs to perform updates or deletions.
- •The custom token factory utilizes OAuth 2.0 on-behalf-of (OBO) flow, allowing bots to act on behalf of the user without storing long-lived credentials.
- •Conversation routing enhancements now include automated detection of 'conversationType' (personal, channel, or groupChat) to simplify conditional logic in bot handlers.
Competitor Analysis
- Vercel Chat SDK
- Native/Optimized
- Botpress
- Plugin-based
- Microsoft Bot Framework
- Native/Core
- Vercel Chat SDK
- Custom Token Factory
- Botpress
- Managed/SaaS
- Microsoft Bot Framework
- Manual/Config
- Vercel Chat SDK
- Simplified API
- Botpress
- Visual Builder
- Microsoft Bot Framework
- Low-level API
| Feature | Vercel Chat SDK | Botpress | Microsoft Bot Framework |
|---|---|---|---|
| Teams Integration | Native/Optimized | Plugin-based | Native/Core |
| Auth Handling | Custom Token Factory | Managed/SaaS | Manual/Config |
| Ephemeral Support | Simplified API | Visual Builder | Low-level API |
Technical Deep Dive
- The postEphemeral() implementation maps directly to the Microsoft Graph API /conversations/{conversationId}/activities endpoint.
- Reaction support utilizes the messageId and reactionType properties, requiring the bot to have 'ChannelMessage.Read.All' and 'ChannelMessage.Send' permissions.
- The token factory interface requires a provider that implements getAccessToken(scope: string) to support dynamic credential rotation.
- Conversation routing logic uses the 'conversation.conversationType' field from the incoming activity object to populate a new 'context.type' property in the SDK's request object.
Future ImplicationsAI analysis grounded in cited sources
Timeline
- 2024-05Vercel launches initial Chat SDK for AI-powered interfaces.
- 2025-02Introduction of multi-platform support for Vercel Chat SDK.
- 2026-01Vercel announces expanded enterprise integrations for Teams and Slack.
- 2026-08Release of native Teams reactions and ephemeral message support.
Weekly AI Recap
Read this week's curated digest of top AI events →
AI-curated news aggregator. All content rights belong to original publishers.
Original source: Vercel News ↗
This is a summary, not the original. Read the source, or get the weekly briefing.
The weekly digest
One email a week. Unsubscribe anytime.