FindGroupConversation method

Future<List<Conversation>> FindGroupConversation(
  1. ViewBase view,
  2. FolderId folderId,
  3. String anchorMailbox
)
Retrieves a collection of all Conversations in the specified Folder. The view controlling the number of conversations returned. The Id of the folder in which to search for conversations. The anchorMailbox Smtp address to route the request directly to group mailbox.

Implementation

Future<List<Conversation>> FindGroupConversation(
  ViewBase view,
  FolderId folderId,
  String anchorMailbox,
) async {
  EwsUtilities.ValidateParam(view, "view");
  EwsUtilities.ValidateParam(folderId, "folderId");
  EwsUtilities.ValidateParam(anchorMailbox, "anchorMailbox");
  EwsUtilities.ValidateMethodVersion(
    this,
    ExchangeVersion.Exchange2015,
    "FindConversation",
  );

  FindConversationRequest request = FindConversationRequest(this);

  request.View = view;
  request.FolderId = FolderIdWrapper(folderId);
  request.AnchorMailbox = anchorMailbox;

  return (await request.Execute()).Conversations;
}