| description |
Automatically generated file. DO NOT MODIFY |
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Beta.Chats.Item.MarkChatReadForUser;
using Microsoft.Graph.Beta.Models;
var requestBody = new MarkChatReadForUserPostRequestBody
{
User = new TeamworkUserIdentity
{
Id = "d864e79f-a516-4d0f-9fee-0eeb4d61fdc2",
AdditionalData = new Dictionary<string, object>
{
{
"tenantId" , "2a690434-97d9-4eed-83a6-f5f13600199a"
},
},
},
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
await graphClient.Chats["{chat-id}"].MarkChatReadForUser.PostAsync(requestBody);