DiscordGuildScheduledEvent

data class DiscordGuildScheduledEvent(val id: Snowflake, val guildId: Snowflake, val channelId: Snowflake?, val creatorId: OptionalSnowflake? = OptionalSnowflake.Missing, val name: String, val description: Optional<String?> = Optional.Missing(), val scheduledStartTime: Instant, val scheduledEndTime: Instant?, val privacyLevel: GuildScheduledEventPrivacyLevel, val status: GuildScheduledEventStatus, val entityType: ScheduledEntityType, val entityId: Snowflake?, val entityMetadata: GuildScheduledEventEntityMetadata?, val creator: Optional<DiscordUser> = Optional.Missing(), val userCount: OptionalInt = OptionalInt.Missing, val image: Optional<String?> = Optional.Missing())(source)

Representation of a Guild Scheduled Event Structure.

Constructors

Link copied to clipboard
constructor(id: Snowflake, guildId: Snowflake, channelId: Snowflake?, creatorId: OptionalSnowflake? = OptionalSnowflake.Missing, name: String, description: Optional<String?> = Optional.Missing(), scheduledStartTime: Instant, scheduledEndTime: Instant?, privacyLevel: GuildScheduledEventPrivacyLevel, status: GuildScheduledEventStatus, entityType: ScheduledEntityType, entityId: Snowflake?, entityMetadata: GuildScheduledEventEntityMetadata?, creator: Optional<DiscordUser> = Optional.Missing(), userCount: OptionalInt = OptionalInt.Missing, image: Optional<String?> = Optional.Missing())

Properties

Link copied to clipboard

The channel id in which the scheduled event will be hosted, or null if entityType is External.

Link copied to clipboard

The user that created the scheduled event.

Link copied to clipboard

The id of the user that created the scheduled event.

Link copied to clipboard

The description of the scheduled event.

Link copied to clipboard

The id of an entity associated with a guild scheduled event.

Link copied to clipboard

Additional metadata for the guild scheduled event.

Link copied to clipboard

The type of the scheduled event.

Link copied to clipboard

The guild id which the scheduled event belongs to.

Link copied to clipboard

The id of the scheduled event.

Link copied to clipboard

The cover image hash of the scheduled event.

Link copied to clipboard

The name of the scheduled event.

Link copied to clipboard
Link copied to clipboard

The Instant in which the scheduled event will end, if any.

Link copied to clipboard

The Instant in which the scheduled event will start.

Link copied to clipboard

The status of the scheduled event.

Link copied to clipboard

The number of users subscribed to the scheduled event.