InternalAccept method

Future<CalendarActionResults> InternalAccept(
  1. bool tentative,
  2. bool sendResponse
)
Accepts the meeting. True if tentative accept. Indicates whether to send a response to the organizer.

Implementation

Future<CalendarActionResults> InternalAccept(
  bool tentative,
  bool sendResponse,
) {
  AcceptMeetingInvitationMessage accept = CreateAcceptMessage(tentative);

  if (sendResponse) {
    return accept.SendAndSaveCopy();
  } else {
    return accept.SaveCalendarResponse();
  }
}