SetReadStateForItemsInConversations method
Sets the read state for items in conversation. Calling this method would
result in call to EWS.
The pairs of Id of conversation whose
items should have their read state set and the date and time conversation
was last synced (Items received after that date will not have their read
state set).
The Id of the folder that contains the conversation.
if set to , conversation items are marked as read; otherwise they are marked as unread.
Implementation
Future<ServiceResponseCollection<ServiceResponse>>
SetReadStateForItemsInConversations(
Iterable<MapEntry<ConversationId, DateTime?>> idLastSyncTimePairs,
FolderId? contextFolderId,
bool isRead,
) {
return ApplyConversationOneTimeAction(
ConversationActionType.SetReadState,
idLastSyncTimePairs,
contextFolderId,
null,
null,
isRead,
null,
null,
null,
null,
ServiceErrorHandling.ReturnErrors,
);
}