AttachmentWrapper

class AttachmentWrapper(attachment: MessageAttachment)

Wraps the obfuscated MessageAttachment class to provide nice method names and require only one central update if method names change after an update

Constructors

Link copied to clipboard
constructor(attachment: MessageAttachment)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun raw(): MessageAttachment

Returns the raw (obfuscated) MessageAttachment Object associated with this wrapper

Properties

Link copied to clipboard
Link copied to clipboard
val height: Int?
Link copied to clipboard
Link copied to clipboard
val size: Long
Link copied to clipboard
val type: MessageAttachmentType
Link copied to clipboard
val url: String
Link copied to clipboard
val width: Int?