/// <summary> /// Removes a meeting invitee object. /// The deleted meeting invitee cannot be recovered. /// If the meeting invitee is associated with a meeting series, the invitee will /// be removed from the entire meeting series.If the invitee is associated with a /// scheduled meeting, the invitee will be removed from only that scheduled meeting. /// </summary> /// <param name="meetingInvitee">The invitee to be removed. This parameter only applies to an invitee to a meeting series or a scheduled meeting. It doesn't apply to an invitee to an ended or ongoing meeting instance.</param> /// <param name="hostEmail">Email address for the meeting host. This parameter is only used if the user or application calling the API has the admin on-behalf-of scopes. If set, the admin may specify the email of a user in a site they manage and the API will delete a meeting invitee that is hosted by that user.</param> /// <returns>True if the meeting invitee was deleted, false otherwise.</returns> public async Task <bool> DeleteMeetingInviteeAsync(MeetingInvitee meetingInvitee, string hostEmail = null) { return(await DeleteMeetingInviteeAsync(meetingInvitee.Id, hostEmail)); }
/// <summary> /// Updates details for a meeting invitee identified by a MeetingInvitee object. /// </summary> /// <param name="meetingInvitee">The meeting invitee object to be updated</param> /// <param name="hostEmail">Email address for the meeting host. This attribute should only be set if the user or application calling the API has the admin on-behalf-of scopes. When used, the admin may specify the email of a user in a site they manage to be the meeting host.</param> /// <returns>The updated MeetingInvitee object</returns> public async Task <MeetingInvitee> UpdateMeetingInviteeAsync(MeetingInvitee meetingInvitee, string hostEmail = null) { return(await UpdateMeetingInviteeAsync(meetingInvitee.Id, meetingInvitee.Email, meetingInvitee.DisplayName, meetingInvitee.CoHost, hostEmail)); }