/// <summary> /// DeleteConversationMember /// </summary> /// <remarks> /// Deletes a member from a converstion. /// /// This REST API takes a ConversationId and a memberId (of type string) and /// removes that member from the conversation. If that member was the last /// member /// of the conversation, the conversation will also be deleted. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='conversationId'> /// Conversation ID /// </param> /// <param name='memberId'> /// ID of the member to delete from this conversation /// </param> public static void DeleteConversationMember(this IConversations operations, string conversationId, string memberId) { operations.DeleteConversationMemberAsync(conversationId, memberId).GetAwaiter().GetResult(); }