/// <summary> /// Creates a new list for the authenticated user. Accounts are limited to 20 lists. /// </summary> /// <param name="tokens">The oauth tokens.</param> /// <param name="name">The list name.</param> /// <param name="isPublic">if set to <c>true</c> creates a public list.</param> /// <param name="description">The description.</param> /// <param name="options">The options.</param> /// <returns>A <see cref="TwitterList"/> instance.</returns> public static TwitterResponse <TwitterList> New(OAuthTokens tokens, string name, bool isPublic, string description, OptionalProperties options) { Commands.CreateListCommand command = new Twitterizer.Commands.CreateListCommand(tokens, name, options) { IsPublic = isPublic, Description = description }; return(Core.CommandPerformer.PerformAction(command)); }
/// <summary> /// Creates a new list for the authenticated user. Accounts are limited to 20 lists. /// </summary> /// <param name="tokens">The oauth tokens.</param> /// <param name="name">The list name.</param> /// <param name="isPublic">if set to <c>true</c> creates a public list.</param> /// <param name="description">The description.</param> /// <param name="options">The options.</param> /// <returns>A <see cref="TwitterList"/> instance.</returns> public static TwitterResponse<TwitterList> New(OAuthTokens tokens, string name, bool isPublic, string description, OptionalProperties options) { Commands.CreateListCommand command = new Twitterizer.Commands.CreateListCommand(tokens, name, options) { IsPublic = isPublic, Description = description }; return Core.CommandPerformer.PerformAction(command); }