getInvite

suspend fun getInvite(code: String, withCounts: Boolean? = null, withExpiration: Boolean? = null, guildScheduledEventId: Snowflake? = null): DiscordInvite(source)