createGuild abstract method

  1. @POST.new('/guilds')
Future<GuildResponse> createGuild({
  1. @Body.new() required GuildCreateRequest body,
})

Create guild.

Only claimed, email-verified non-bot users can create guilds.

body - Name not received - field will be skipped.

Implementation

@POST('/guilds')
Future<GuildResponse> createGuild({@Body() required GuildCreateRequest body});