updateCurrentUserSettings abstract method

  1. @PATCH.new('/users/@me/settings')
Future<UserSettingsResponse> updateCurrentUserSettings({
  1. @Body.new() required UserSettingsUpdateRequest body,
})

Update current user settings.

Updates the current user's settings and preferences. Allows modification of notification settings, privacy options, display preferences, and other user-configurable options. Returns updated settings.

body - Name not received - field will be skipped.

Implementation

@PATCH('/users/@me/settings')
Future<UserSettingsResponse> updateCurrentUserSettings({
  @Body() required UserSettingsUpdateRequest body,
});