updateGuildChannelPositions abstract method
- @PATCH.new('/guilds/{guild_id}/channels')
- @Path.new('guild_id') required SnowflakeType guildId,
- @Body.new() required ChannelPositionUpdateRequest body,
Update channel positions.
Update channel positions. Requires manage_channels permission. Reorders channels and optionally changes parent categories and permission locks.
guildId - The ID of the guild.
body - Name not received - field will be skipped.
Implementation
@PATCH('/guilds/{guild_id}/channels')
Future<void> updateGuildChannelPositions({
@Path('guild_id') required SnowflakeType guildId,
@Body() required ChannelPositionUpdateRequest body,
});