getGuildVanityUrl abstract method
- @GET.new('/guilds/{guild_id}/vanity-url')
- @Path.new('guild_id') required SnowflakeType guildId,
Get guild vanity URL.
Returns the custom invite code for the guild if configured.
guildId - The ID of the guild.
Implementation
@GET('/guilds/{guild_id}/vanity-url')
Future<GuildVanityUrlResponse> getGuildVanityUrl({
@Path('guild_id') required SnowflakeType guildId,
});