public virtual IAsyncResult BeginUpdateProfileBackgroundImage(UpdateProfileBackgroundImageOptions options) { var imagePath = options.Imagepath; var tile = options.Tile; var include_entities = options.IncludeEntities; var skip_status = options.SkipStatus; var use = options.Use; return BeginWithHammock<TwitterUser>(WebMethod.Post, "account/update_profile_background_image", FormatAsString, "?image_path=", imagePath, "&tile=", tile, "&include_entities=", include_entities, "&skip_status=", skip_status, "&use=", use); }
public virtual void UpdateProfileBackgroundImage(UpdateProfileBackgroundImageOptions options, Action<TwitterUser, TwitterResponse> action) { var imagePath = options.Imagepath; var tile = options.Tile; var include_entities = options.IncludeEntities; var skip_status = options.SkipStatus; var use = options.Use; WithHammock(WebMethod.Post, action, "account/update_profile_background_image", FormatAsString, "?image_path=", imagePath, "&tile=", tile, "&include_entities=", include_entities, "&skip_status=", skip_status, "&use=", use); }
public virtual Task<TwitterResponse<TwitterUser>> UpdateProfileBackgroundImageAsync(UpdateProfileBackgroundImageOptions options) { var imagePath = options.Imagepath; var tile = options.Tile; var include_entities = options.IncludeEntities; var skip_status = options.SkipStatus; var use = options.Use; return ExecuteRequest<TwitterUser>(HttpMethod.Post, "account/update_profile_background_image", FormatAsString, "?image_path=", imagePath, "&tile=", tile, "&include_entities=", include_entities, "&skip_status=", skip_status, "&use=", use); }