/// <summary> /// Allows the authenticating users to unfollow the user specified in the ID parameter. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="userName">The username.</param> /// <param name="options">The options.</param> /// <returns> /// Returns the unfollowed user in the requested format when successful. /// </returns> public static TwitterResponse <TwitterUser> Delete(OAuthTokens tokens, string userName, OptionalProperties options) { Commands.DeleteFriendshipCommand command = new Commands.DeleteFriendshipCommand(tokens, 0, userName, options); return(Core.CommandPerformer.PerformAction(command)); }
/// <summary> /// Allows the authenticating users to unfollow the user specified in the ID parameter. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="userId">The user id.</param> /// <param name="options">The options.</param> /// <returns> /// Returns the unfollowed user in the requested format when successful. /// </returns> public static TwitterResponse <TwitterUser> Delete(OAuthTokens tokens, decimal userId, OptionalProperties options) { Commands.DeleteFriendshipCommand command = new Commands.DeleteFriendshipCommand(tokens, userId, string.Empty, options); return(CommandPerformer.PerformAction(command)); }