getGuild abstract method
- @GET.new('/guilds/{guild_id}')
- @Path.new('guild_id') required SnowflakeType guildId,
Get guild information.
User must be a member of the guild to access this endpoint.
guildId - The ID of the guild.
Implementation
@GET('/guilds/{guild_id}')
Future<GuildResponse> getGuild({
@Path('guild_id') required SnowflakeType guildId,
});