AttachmentData

data class AttachmentData(val id: Snowflake, val filename: String, val description: Optional<String> = Optional.Missing(), val contentType: Optional<String> = Optional.Missing(), val size: Int, val url: String, val proxyUrl: String, val height: OptionalInt? = OptionalInt.Missing, val width: OptionalInt? = OptionalInt.Missing, val ephemeral: OptionalBoolean = OptionalBoolean.Missing, val durationSecs: Optional<DurationInDoubleSeconds> = Optional.Missing(), val waveform: Optional<String> = Optional.Missing(), val flags: Optional<AttachmentFlags> = Optional.Missing())(source)

Constructors

Link copied to clipboard
constructor(id: Snowflake, filename: String, description: Optional<String> = Optional.Missing(), contentType: Optional<String> = Optional.Missing(), size: Int, url: String, proxyUrl: String, height: OptionalInt? = OptionalInt.Missing, width: OptionalInt? = OptionalInt.Missing, ephemeral: OptionalBoolean = OptionalBoolean.Missing, durationSecs: Optional<DurationInDoubleSeconds> = Optional.Missing(), waveform: Optional<String> = Optional.Missing(), flags: Optional<AttachmentFlags> = Optional.Missing())

Types

Link copied to clipboard
object Companion

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
val size: Int
Link copied to clipboard
val url: String
Link copied to clipboard
Link copied to clipboard