updateRelationshipNickname abstract method

  1. @PATCH.new('/users/@me/relationships/{user_id}')
Future<RelationshipResponse> updateRelationshipNickname({
  1. @Path.new('user_id') required SnowflakeType userId,
  2. @Body.new() required RelationshipNicknameUpdateRequest body,
})

Update relationship nickname.

Updates the nickname associated with a relationship (friend or blocked user). Nicknames are personal labels that override the user's display name in the current user's view. Returns updated relationship object.

userId - The ID of the user.

body - Name not received - field will be skipped.

Implementation

@PATCH('/users/@me/relationships/{user_id}')
Future<RelationshipResponse> updateRelationshipNickname({
  @Path('user_id') required SnowflakeType userId,
  @Body() required RelationshipNicknameUpdateRequest body,
});