Skip to content

Update code snippet in get-teams-context.md file as per changes in Teams SDK folder#14212

Open
Pranjal-MSFT wants to merge 8 commits intomainfrom
pranjalb-teamssdk-sample-code-updation-2
Open

Update code snippet in get-teams-context.md file as per changes in Teams SDK folder#14212
Pranjal-MSFT wants to merge 8 commits intomainfrom
pranjalb-teamssdk-sample-code-updation-2

Conversation

@Pranjal-MSFT
Copy link
Copy Markdown
Collaborator

No description provided.

@microsoft-production-github-app

This comment was marked as outdated.

@learn-build-service-prod

This comment was marked as outdated.

@learn-build-service-prod

This comment was marked as outdated.

@microsoft-production-github-app

This comment was marked as outdated.

@learn-build-service-prod

This comment was marked as outdated.

@learn-build-service-prod

This comment was marked as outdated.

@microsoft-production-github-app

This comment was marked as outdated.

@learn-build-service-prod

This comment was marked as outdated.

@learn-build-service-prod

This comment was marked as outdated.

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

Updates the “Get Teams specific context for your bot” documentation to align its code snippets with newer Teams SDK-style APIs (moving away from TeamsInfo.* examples).

Changes:

  • Updated C#/TypeScript/Python code snippets to use context.Api.* / api.* patterns for roster, member, team, and channel retrieval.
  • Updated the referenced API names in the explanatory transition paragraphs between sections.
  • Refreshed front-matter date and removed the pre-release label include.

Comment thread msteams-platform/bots/how-to/get-teams-context.md Outdated
Comment thread msteams-platform/bots/how-to/get-teams-context.md Outdated
Comment thread msteams-platform/bots/how-to/get-teams-context.md Outdated
Comment thread msteams-platform/bots/how-to/get-teams-context.md Outdated
Comment thread msteams-platform/bots/how-to/get-teams-context.md Outdated
@microsoft-production-github-app

This comment was marked as outdated.

@learn-build-service-prod

This comment was marked as outdated.

@learn-build-service-prod

This comment was marked as outdated.

Comment thread msteams-platform/bots/how-to/get-teams-context.md Outdated
Comment thread msteams-platform/bots/how-to/get-teams-context.md Outdated
Comment thread msteams-platform/bots/how-to/get-teams-context.md Outdated
@microsoft-production-github-app

This comment was marked as outdated.

@learn-build-service-prod

This comment was marked as outdated.

@learn-build-service-prod

This comment was marked as outdated.

Comment thread msteams-platform/bots/how-to/get-teams-context.md Outdated
@microsoft-production-github-app

This comment was marked as outdated.

@learn-build-service-prod

This comment was marked as outdated.

@learn-build-service-prod

This comment was marked as outdated.

AjayJ12-MSFT
AjayJ12-MSFT previously approved these changes Apr 1, 2026
Copy link
Copy Markdown

@YugalPradhan31 YugalPradhan31 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.

@Mohammed-MSFT

This comment was marked as outdated.

@microsoft-production-github-app

This comment was marked as outdated.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 6907272:

✅ Validation status: passed

File Status Preview URL Details
msteams-platform/bots/how-to/get-teams-context.md ✅Succeeded View

For more details, please refer to the build report.

@learn-build-service-prod

This comment was marked as outdated.

AjayJ12-MSFT
AjayJ12-MSFT previously approved these changes Apr 6, 2026
Copy link
Copy Markdown

@Harikrishnan-MSFT Harikrishnan-MSFT left a comment

Choose a reason for hiding this comment

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

Kindly review the comments on the PR and make the necessary updates.

Comment thread msteams-platform/bots/how-to/get-teams-context.md Outdated
Comment thread msteams-platform/bots/how-to/get-teams-context.md
Comment thread msteams-platform/bots/how-to/get-teams-context.md Outdated
Comment thread msteams-platform/bots/how-to/get-teams-context.md Outdated
Comment thread msteams-platform/bots/how-to/get-teams-context.md Outdated
@microsoft-production-github-app
Copy link
Copy Markdown

Acrolinx Scorecards

We currently enforce a minimum score of 80.

Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article Score Issues Scorecard Processed
msteams-platform/bots/how-to/get-teams-context.md 90 6 link

More info about Acrolinx

Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 65ae553:

✅ Validation status: passed

File Status Preview URL Details
msteams-platform/bots/how-to/get-teams-context.md ✅Succeeded View

For more details, please refer to the build report.

Copy link
Copy Markdown

@Harikrishnan-MSFT Harikrishnan-MSFT left a comment

Choose a reason for hiding this comment

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

Approved!!!

Copy link
Copy Markdown
Collaborator

@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.

Changes look good, engineering will need to review code snips for accuracy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants