/// <summary> /// Removes the specified member from the list. The authenticated user must be the list’s owner to remove members from the list. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns>An instance of <see cref="SocialHttpResponse"/> representing the raw response.</returns> /// <see> /// <cref>https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy</cref> /// </see> public SocialHttpResponse RemoveMember(TwitterRemoveMemberOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Client.DoHttpPostRequest("https://api.twitter.com/1.1/lists/members/destroy.json", options)); }
/// <summary> /// Removes the specified member from the list. The authenticated user must be the list’s owner to remove members from the list. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns>An instance of <see cref="TwitterRemoveMemberResponse"/> representing the response.</returns> /// <see> /// <cref>https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy</cref> /// </see> public TwitterRemoveMemberResponse RemoveMember(TwitterRemoveMemberOptions options) { return(TwitterRemoveMemberResponse.ParseResponse(Raw.RemoveMember(options))); }