updateChannelPositions method
Update the positions of channels in a guild.
Implementation
Future<void> updateChannelPositions(Snowflake id, List<ChannelPositionBuilder> positions) async {
final route = HttpRoute()
..guilds(id: id.toString())
..channels();
final request = BasicRequest(route, method: 'PATCH', body: jsonEncode(positions.map((e) => e.build()).toList()));
await client.httpHandler.executeSafe(request);
}