DiscordGuildScheduledEvent class

Constructors

DiscordGuildScheduledEvent({required DiscordSnowflake id, required DiscordSnowflake guildId, DiscordSnowflake? channelId, DiscordSnowflake? creatorId, required String name, String? description, required String scheduledStartTime, String? scheduledEndTime, required int privacyLevel, required int status, required int entityType, DiscordSnowflake? entityId, DiscordGuildScheduledEventEntityMetadata? entityMetadata, DiscordUser? creator, int? userCount, String? image})
DiscordGuildScheduledEvent.fromJson(Map<String, dynamic> json)
factory

Properties

channelId DiscordSnowflake?
the channel id in which the scheduled event will be hosted, or null if scheduled entity type is EXTERNAL
final
creator DiscordUser?
the user that created the scheduled event
final
creatorId DiscordSnowflake?
the id of the user that created the scheduled event
final
description String?
the description of the scheduled event (0-1000 characters)
final
entityId DiscordSnowflake?
the id of an entity associated with a guild scheduled event
final
entityMetadata DiscordGuildScheduledEventEntityMetadata?
the additional metadata for the scheduled event
final
entityType int
the type of the scheduled event
final
entityTypeAsEnum DiscordGuildScheduledEventEntityType
no setter
guildId DiscordSnowflake
the guild id which the scheduled event belongs to
final
hashCode int
The hash code for this object.
no setterinherited
id DiscordSnowflake
the id of the scheduled event
final
image String?
the cover image hash of the scheduled event
final
name String
the name of the scheduled event (1-100 characters)
final
privacyLevel int
the privacy level of the scheduled event
final
privacyLevelAsEnum DiscordGuildScheduledEventPrivacyLevel
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduledEndTime String?
the time the scheduled event will end, required if entity_type is EXTERNAL, as an ISO 8601 datetime string
final
scheduledStartTime String
the time the scheduled event will start, as an ISO 8601 datetime string
final
status int
the status of the scheduled event
final
statusAsEnum DiscordGuildScheduledEventStatus
no setter
userCount int?
the number of users subscribed to the scheduled event
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited