ActivityData
data class ActivityData(val name: String, val type: ActivityType, val url: Optional<String?> = Optional.Missing(), val createdAt: InstantInEpochMilliseconds, val timestamps: Optional<DiscordActivityTimestamps> = Optional.Missing(), val applicationId: OptionalSnowflake = OptionalSnowflake.Missing, val details: Optional<String?> = Optional.Missing(), val state: Optional<String?> = Optional.Missing(), val emoji: Optional<DiscordActivityEmoji?> = Optional.Missing(), val party: Optional<DiscordActivityParty> = Optional.Missing(), val assets: Optional<DiscordActivityAssets> = Optional.Missing(), val secrets: Optional<DiscordActivitySecrets> = Optional.Missing(), val instance: OptionalBoolean = OptionalBoolean.Missing, val flags: Optional<ActivityFlags> = Optional.Missing(), val buttons: Optional<List<String>> = Optional.Missing())(source)
Constructors
Link copied to clipboard
constructor(name: String, type: ActivityType, url: Optional<String?> = Optional.Missing(), createdAt: InstantInEpochMilliseconds, timestamps: Optional<DiscordActivityTimestamps> = Optional.Missing(), applicationId: OptionalSnowflake = OptionalSnowflake.Missing, details: Optional<String?> = Optional.Missing(), state: Optional<String?> = Optional.Missing(), emoji: Optional<DiscordActivityEmoji?> = Optional.Missing(), party: Optional<DiscordActivityParty> = Optional.Missing(), assets: Optional<DiscordActivityAssets> = Optional.Missing(), secrets: Optional<DiscordActivitySecrets> = Optional.Missing(), instance: OptionalBoolean = OptionalBoolean.Missing, flags: Optional<ActivityFlags> = Optional.Missing(), buttons: Optional<List<String>> = Optional.Missing())