/// <summary> /// Sets values that users are able to set under the "Account" tab of their settings page. Only the parameters specified will be updated. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="options">The options.</param> /// <returns></returns> /// <remarks></remarks> public static TwitterResponse <TwitterUser> UpdateProfile(OAuthTokens tokens, UpdateProfileOptions options) { Commands.UpdateProfileCommand command = new Commands.UpdateProfileCommand(tokens, options); return(Core.CommandPerformer.PerformAction(command)); }
/// <summary> /// Sets values that users are able to set under the "Account" tab of their settings page. Only the parameters specified will be updated. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="options">The options.</param> /// <returns></returns> /// <remarks></remarks> public static async Task <TwitterResponse <User> > UpdateProfileAsync(OAuthTokens tokens, UpdateProfileOptions options) { return(await Core.CommandPerformer.PerformAction(new Commands.UpdateProfileCommand(tokens, options))); }
public static TwitterResponse<TwitterUser> UpdateProfile(OAuthTokens tokens, UpdateProfileOptions options) { Commands.UpdateProfileCommand command = new Commands.UpdateProfileCommand(tokens, options); return Core.CommandPerformer.PerformAction(command); }
/// <summary> /// Sets values that users are able to set under the "Account" tab of their settings page. Only the parameters specified will be updated. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="options">The options.</param> /// <returns></returns> /// <remarks></remarks> public static async Task<TwitterResponse<TwitterUser>> UpdateProfileAsync(OAuthTokens tokens, UpdateProfileOptions options) { return await Core.CommandPerformer.PerformAction(new Commands.UpdateProfileCommand(tokens, options)); }