-
Notifications
You must be signed in to change notification settings - Fork 263
Description
Is your feature request related to a problem? Please describe the problem.
I am looking to use message editing and GetAllRetainedMessages for both chats and channels, using the 5.77 version(latest version) of the Microsoft Graph SDK. However, I encountered an issue where a required model parameter appears to be missing in the SDK version.
The API request functions correctly when executed via Postman, returning the expected response. This indicates that the API itself is functioning as intended.
Describe the solution you'd like.
The model parameter should exist in the GetAllRetainedMessagesRequestBuilderGetQueryParameters class for both chats and channels.
Additional context?
How to reproduce:
var retainedChannelMessages = _client
.Teams[teamId]
.Channels
.GetAllRetainedMessages.GetAsGetAllRetainedMessagesGetResponseAsync(r =>
{
r.QueryParameters.Filter = filter;
r.QueryParameters.Select = new string[] { "replyToId", "reactions", "hostedContents" };
r.QueryParameters.Top = _exportApiSettings.MessagesPageSize;
//r.QueryParameters.Model = _requestModel; //Model doesn't exist
});
SDK Version
5.77