uploadEntranceSound abstract method

  1. @POST.new('/users/@me/entrance-sounds')
Future<EntranceSoundResponse> uploadEntranceSound({
  1. @Body.new() required EntranceSoundUploadRequest body,
})

Upload an entrance sound.

Uploads a short audio clip to the user's entrance sound library. Validates format, duration, and size server-side.

body - Name not received - field will be skipped.

Implementation

@POST('/users/@me/entrance-sounds')
Future<EntranceSoundResponse> uploadEntranceSound({
  @Body() required EntranceSoundUploadRequest body,
});