MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
277 stars 501 forks source link

`threadId` is required, but documentation indicates it is optional #11169

Closed erinha closed 1 week ago

erinha commented 3 weeks ago

Type of issue

Typo

Feedback

This section on the page describes threadId as optional, however the teams-js API requires that parameter be specified. https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/open-content-in-stageview?tabs=withchat#invoke-from-stageview-api

https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/open-content-in-stageview?tabs=withchat#stageview-api-parameters

Here 's the reference documentation: https://learn.microsoft.com/en-us/javascript/api/%40microsoft/teams-js/stageview.stageviewparams?view=msteams-client-js-latest

Which matches the code: https://github.com/OfficeDev/microsoft-teams-library-js/blob/20bcabb512ae75e25e88bd76ea478adbfd1fa149/packages/teams-js/src/public/stageView.ts#L35

Page URL

https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/open-content-in-stageview?tabs=withchat

Content source URL

https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/tabs/open-content-in-stageview.md

Author

@Rajeshwari-v

Document Id

7b685a2e-18e0-a401-e44f-905a47d2415d

microsoft-github-policy-service[bot] commented 3 weeks ago

Hi erinha! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

Dinesh-MSFT commented 3 weeks ago

Hi @erinha - Thanks for raising the query. We will look into it and let you know the updates.

Update: As per the documentation threadid parameter is optional. Please refer the documnetation StageViewParams interface. We could not find any documentation where it is mentioned that its mandatory.

microsoft-github-policy-service[bot] commented 1 week ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 3 days of this comment.