MicrosoftDocs / msteams-docs

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

Outgoing webhook for teams c# code is outdated #11240

Closed anilkumar15 closed 1 month ago

anilkumar15 commented 1 month ago

Type of issue

Code doesn't work

Feedback

Outgoing webhook for teams c# code is outdated Microsoft.Bot.Connector.Activity - Error (active) CS0234 The type or namespace name 'Activity' does not exist in the namespace 'Microsoft.Bot.Connector' (are you missing an assembly reference?)

Page URL

https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-outgoing-webhook?tabs=urljsonpayload%2Cdotnet#create-outgoing-webhooks-1

Content source URL

https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/webhooks-and-connectors/how-to/add-outgoing-webhook.md

Author

@surbhigupta

Document Id

43e90995-bba4-86b6-1f1c-ab749e546a4b

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

Hi anilkumar15! 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

Meghana-MSFT commented 1 month ago

Thank you for reporting this, we will check this by setting up this sample https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/outgoing-webhook/csharp and get back to you.

Update : The above sample seems to be running fine, it does not give the above-mentioned error. Could you please refer the sample once? We have the below version with us

image

microsoft-github-policy-service[bot] commented 1 month 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.