Yesterday's Top Poster

Chat SDK now supports reactions and ephemeral messages on Teams

  • Thread starter Thread starter Ben Sabic
  • Start date Start date
Chat SDK's Microsoft Teams adapter now supports reactions and ephemeral messages through the same API as other adapters.

Bots can add and remove reactions on Teams messages, and call thread.postEphemeral() or channel.postEphemeral() to send native, targeted messages that only the intended user sees, like permission prompts.


This release also adds:


  • Author emails: Incoming Teams messages include the author's Microsoft Graph email, with their user principal name as a fallback.


  • Custom token factory: Pass a token function in TeamsAdapterConfig to supply your own access tokens, so bots on runtimes without Azure IMDS can authenticate without a static client secret.


  • Native DM status: Progress messages now show as a native Teams status in direct messages.


  • Conversation routing: Group conversations are no longer misidentified as direct messages, so they're always handled correctly.


  • Mention conversion: Email addresses, @handles inside URLs, and mentions inside code spans are no longer turned into Teams mentions.

Read the Teams adapter documentation to get started, or learn more about ephemeral messages and reactions.

Special thanks to onmax for their contributions to this release.

Read more

Continue reading...
 
Back
Top