UpdateSoundboardSoundRequest

data class UpdateSoundboardSoundRequest(val name: Optional<String> = Optional.Missing(), val volume: OptionalDouble? = OptionalDouble.Missing, val emojiId: OptionalSnowflake? = OptionalSnowflake.Missing, val emojiName: Optional<String?> = Optional.Missing())(source)

Representation of a Soundboard Sound.

Constructors

Link copied to clipboard
constructor(name: Optional<String> = Optional.Missing(), volume: OptionalDouble? = OptionalDouble.Missing, emojiId: OptionalSnowflake? = OptionalSnowflake.Missing, emojiName: Optional<String?> = Optional.Missing())

Properties

Link copied to clipboard
@SerialName(value = "emoji_id")
val emojiId: OptionalSnowflake?

the id of this sound's custom emoji (if set)

Link copied to clipboard
@SerialName(value = "emoji_name")
val emojiName: Optional<String?>

the unicode character of this sound's standard emoji (if set)

Link copied to clipboard

name of the soundboard sound (2-32 characters)

Link copied to clipboard

the volume of the soundboard sound, from 0.0 to 1.0, defaults to 1.0