listGuildChannels abstract method
- @GET.new('/guilds/{guild_id}/channels')
- @Path.new('guild_id') required SnowflakeType guildId,
List guild channels.
List guild channels. Returns all channels in the guild that the user has access to view.
guildId - The ID of the guild.
Implementation
@GET('/guilds/{guild_id}/channels')
Future<List<ChannelResponse>> listGuildChannels({
@Path('guild_id') required SnowflakeType guildId,
});