/// <summary> /// List the lists the specified user has been added to. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="username">The username.</param> /// <param name="options">The options.</param> /// <returns> /// A <see cref="TwitterListCollection"/> instance. /// </returns> public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, string username, ListMembershipsOptions options) { Commands.ListMembershipsCommand command = new Twitterizer.Commands.ListMembershipsCommand(tokens, username, options); return Core.CommandPerformer.PerformAction(command); }
/// <summary> /// List the lists the specified user has been added to. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="username">The userid.</param> /// <param name="options">The options.</param> /// <returns> /// A <see cref="TwitterListCollection"/> instance. /// </returns> public static TwitterResponse <TwitterListCollection> GetMemberships(OAuthTokens tokens, decimal userid, ListMembershipsOptions options) { Commands.ListMembershipsCommand command = new Twitterizer.Commands.ListMembershipsCommand(tokens, userid, options); return(Core.CommandPerformer.PerformAction(command)); }