/// <summary> /// Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="options">The options.</param> /// <returns> /// The user, with updated data, as a <see cref="TwitterUser"/> /// </returns> public static TwitterResponse <TwitterUser> UpdateProfileColors(OAuthTokens tokens, UpdateProfileColorsOptions options) { Commands.UpdateProfileColorsCommand command = new Twitterizer.Commands.UpdateProfileColorsCommand(tokens, options); return(CommandPerformer.PerformAction(command)); }
/// <summary> /// Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="options">The options.</param> /// <returns> /// The user, with updated data, as a <see cref="User"/> /// </returns> public static async Task <TwitterResponse <User> > UpdateProfileColorsAsync(OAuthTokens tokens, UpdateProfileColorsOptions options) { return(await Core.CommandPerformer.PerformAction(new Twitterizer.Commands.UpdateProfileColorsCommand(tokens, options))); }
/// <summary> /// Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="options">The options.</param> /// <returns> /// The user, with updated data, as a <see cref="TwitterUser"/> /// </returns> public static TwitterResponse<TwitterUser> UpdateProfileColors(OAuthTokens tokens, UpdateProfileColorsOptions options) { Commands.UpdateProfileColorsCommand command = new Twitterizer.Commands.UpdateProfileColorsCommand(tokens, options); return CommandPerformer.PerformAction(command); }
/// <summary> /// Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="options">The options.</param> /// <returns> /// The user, with updated data, as a <see cref="TwitterUser"/> /// </returns> public static async Task<TwitterResponse<TwitterUser>> UpdateProfileColorsAsync(OAuthTokens tokens, UpdateProfileColorsOptions options) { return await Core.CommandPerformer.PerformAction(new Twitterizer.Commands.UpdateProfileColorsCommand(tokens, options)); }