listGuilds abstract method
- @GET.new('/users/@me/guilds')
- @Query.new('before') SnowflakeType? before,
- @Query.new('after') SnowflakeType? after,
- @Query.new('limit') int? limit,
- @Query.new('with_counts') String? withCounts,
List current user guilds.
Requires guilds OAuth scope if using bearer token. Returns all guilds the user is a member of.
Implementation
@GET('/users/@me/guilds')
Future<List<GuildResponse>> listGuilds({
@Query('before') SnowflakeType? before,
@Query('after') SnowflakeType? after,
@Query('limit') int? limit,
@Query('with_counts') String? withCounts,
});