DiscordPartialGuild
data class DiscordPartialGuild(val id: Snowflake, val name: String, val icon: String?, val owner: OptionalBoolean = OptionalBoolean.Missing, val permissions: Optional<Permissions> = Optional.Missing(), val features: List<GuildFeature>, val welcomeScreen: Optional<DiscordWelcomeScreen> = Optional.Missing(), val vanityUrlCode: Optional<String?> = Optional.Missing(), val description: Optional<String?> = Optional.Missing(), val banner: Optional<String?> = Optional.Missing(), val splash: Optional<String?> = Optional.Missing(), val nsfwLevel: Optional<NsfwLevel> = Optional.Missing(), val verificationLevel: Optional<VerificationLevel> = Optional.Missing(), val stageInstances: Optional<List<DiscordStageInstance>> = Optional.Missing(), val stickers: Optional<List<DiscordMessageSticker>> = Optional.Missing(), val guildScheduledEvents: Optional<List<DiscordGuildScheduledEvent>> = Optional.Missing(), val approximateMemberCount: OptionalInt = OptionalInt.Missing, val approximatePresenceCount: OptionalInt = OptionalInt.Missing, val premiumProgressBarEnabled: OptionalBoolean = OptionalBoolean.Missing)(source)
A partial representation of a Discord Guild structure
Parameters
id
The guild id.
name
The guild name (2-100 characters, excluding trailing and leading whitespace)
icon
The icon hash.
owner
True if DiscordUser is the owner of the guild.
features
The enabled guild features.
Constructors
Link copied to clipboard
constructor(id: Snowflake, name: String, icon: String?, owner: OptionalBoolean = OptionalBoolean.Missing, permissions: Optional<Permissions> = Optional.Missing(), features: List<GuildFeature>, welcomeScreen: Optional<DiscordWelcomeScreen> = Optional.Missing(), vanityUrlCode: Optional<String?> = Optional.Missing(), description: Optional<String?> = Optional.Missing(), banner: Optional<String?> = Optional.Missing(), splash: Optional<String?> = Optional.Missing(), nsfwLevel: Optional<NsfwLevel> = Optional.Missing(), verificationLevel: Optional<VerificationLevel> = Optional.Missing(), stageInstances: Optional<List<DiscordStageInstance>> = Optional.Missing(), stickers: Optional<List<DiscordMessageSticker>> = Optional.Missing(), guildScheduledEvents: Optional<List<DiscordGuildScheduledEvent>> = Optional.Missing(), approximateMemberCount: OptionalInt = OptionalInt.Missing, approximatePresenceCount: OptionalInt = OptionalInt.Missing, premiumProgressBarEnabled: OptionalBoolean = OptionalBoolean.Missing)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard