public virtual IAsyncResult BeginUpdateProfile(UpdateProfileOptions options) { var name = options.Name; var url = options.Url; var location = options.Location; var description = options.Description; var include_entities = options.IncludeEntities; var skip_status = options.SkipStatus; return BeginWithHammock<TwitterUser>(WebMethod.Post, "account/update_profile", FormatAsString, "?name=", name, "&url=", url, "&location=", location, "&description=", description, "&include_entities=", include_entities, "&skip_status=", skip_status); }
public virtual void UpdateProfile(UpdateProfileOptions options, Action<TwitterUser, TwitterResponse> action) { var name = options.Name; var url = options.Url; var location = options.Location; var description = options.Description; var include_entities = options.IncludeEntities; var skip_status = options.SkipStatus; WithHammock(WebMethod.Post, action, "account/update_profile", FormatAsString, "?name=", name, "&url=", url, "&location=", location, "&description=", description, "&include_entities=", include_entities, "&skip_status=", skip_status); }
public virtual Task<TwitterResponse<TwitterUser>> UpdateProfileAsync(UpdateProfileOptions options) { var name = options.Name; var url = options.Url; var location = options.Location; var description = options.Description; var include_entities = options.IncludeEntities; var skip_status = options.SkipStatus; return ExecuteRequest<TwitterUser>(HttpMethod.Post, "account/update_profile", FormatAsString, "?name=", name, "&url=", url, "&location=", location, "&description=", description, "&include_entities=", include_entities, "&skip_status=", skip_status); }