chore(examples): migrate examples to the flattened conversation API#637
Merged
Conversation
Update the reactions, targeted-messages, and message-extensions examples to use the flattened conversations.* methods instead of the deprecated chained accessors: - reactions: api.reactions.add/delete -> conversations.addReaction/deleteReaction (plus doc/manifest wording) - targeted-messages: conversations.activities(id).updateTargeted/deleteTargeted -> conversations.updateTargetedActivity/deleteTargetedActivity - message-extensions: conversations.members(id).get() -> conversations.getMembers(id) Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates multiple SDK examples to use the newer flattened conversations.* methods (e.g., getMembers, addReaction, updateTargetedActivity) instead of deprecated chained/grouped accessors like conversations.members(id).get() and conversations.activities(id).updateTargeted(...).
Changes:
- Migrate targeted-message update/delete calls to
conversations.updateTargetedActivity/conversations.deleteTargetedActivity. - Migrate reactions example + docs to
conversations.addReaction/conversations.deleteReaction. - Migrate message-extension member lookup to
conversations.getMembers.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| examples/targeted-messages/src/index.ts | Replaces deprecated conversations.activities(...).updateTargeted/deleteTargeted with flattened targeted-activity methods. |
| examples/reactions/src/index.ts | Uses api.conversations.addReaction/deleteReaction and updates the example text accordingly. |
| examples/reactions/README.md | Updates documentation to show conversations.addReaction/deleteReaction usage. |
| examples/reactions/appPackage/manifest.json | Updates manifest descriptions to reference the reaction API on conversations. |
| examples/message-extensions/src/index.ts | Replaces deprecated conversations.members(...).get() with conversations.getMembers(...). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
corinagum
approved these changes
Jul 9, 2026
Merged
lilyydu
added a commit
that referenced
this pull request
Jul 16, 2026
## Release v2.0.14
Prepares the stable **2.0.14** release by merging `main` into `release`
and setting `version.json` to the stable version (removing the
`-preview.{height}` suffix).
- Previous release: `2.0.13` (published 2026-06-15)
- Only functional diff vs `main` is `version.json`:
`2.0.14-preview.{height}` → `2.0.14`
## What's in this release
### 🚀 Features
* Flatten client method chains to reduce call hops by @lilyydu in
#634
* Support resetting response streams and streaming error handling by
@lilyydu in #635
* Add `extendedMarkdown` text format value by @singhk97 in
#615
### 🐛 Fixes
* Set `replyToId` for all streaming activities by @lilyydu in
#646
* Use `artifactName` for pipelineArtifact inputs in publish pipeline by
@corinagum in #625
### ♻️ Refactors
* Move `apps` from file-based mixins to real classes by @heyitsaamir in
#633
* Split up Outbound and Inbound Activities by @heyitsaamir in
#639
* Remove `ExperimentalTeamsQuotedReplies` markers by @corinagum in
#621
### 🧪 Tests
* Add integration tests for Teams TypeScript SDK by @corinagum in
#622
### 📚 Docs & Examples
* Migrate examples to the flattened conversation API by @lilyydu in
#637
* Note npm CFS proxy for Microsoft-managed devices by @corinagum in
#638
* Update integration test runbook link to ADO wiki by @corinagum in
#624
### 🔧 Chores & Dependencies
* Bump version to 2.0.14-preview and fix pipeline release job by
@corinagum in #620
* Bump hono from 4.12.21 to 4.12.25 by @dependabot in
#623
* Bump react-router from 7.15.0 to 7.15.1 by @dependabot in
#619
* Bump vite from 6.4.2 to 6.4.3 by @dependabot in
#617
**Full Changelog**:
v2.0.13...prep-release/2.0.14
### After merge
1. Trigger the [release
pipeline](https://dev.azure.com/DomoreexpGithub/Github_Pipelines/_build?definitionId=52&_a=summary)
on `release` with **Public** publish type
2. Bump `main` → `2.0.15-preview.{height}`
3. Create the `v2.0.14` git tag + GitHub Release
Co-authored-by: Copilot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the reactions, targeted-messages, and message-extensions examples to use the flattened conversations.* methods instead of the deprecated chained accessors.