transferGuildOwnership abstract method
- @POST.new('/admin/guilds/transfer-ownership')
- @Body.new() required TransferGuildOwnershipRequest body,
Transfer guild ownership.
Transfers guild ownership to another user. Used when owner is inactive or for administrative recovery. Logged to audit log. Requires GUILD_TRANSFER_OWNERSHIP permission.
body - Name not received - field will be skipped.
Implementation
@POST('/admin/guilds/transfer-ownership')
Future<GuildUpdateResponse> transferGuildOwnership({
@Body() required TransferGuildOwnershipRequest body,
});