public virtual Task<TwitterAsyncResult<TwitterUser>> MuteUserAsync(MuteUserOptions options) { var user_id = options.UserId; var screen_name = options.ScreenName; return WithHammockTask<TwitterUser>(_client, WebMethod.Post, "mutes/users/create", FormatAsString, "?user_id=", user_id, "&screen_name=", screen_name); }
public virtual void MuteUser(MuteUserOptions options, Action<TwitterUser, TwitterResponse> action) { var user_id = options.UserId; var screen_name = options.ScreenName; WithHammock(_client, WebMethod.Post, action, "mutes/users/create", FormatAsString, "?user_id=", user_id, "&screen_name=", screen_name); }