data class MediaFileDescriptor (source)
A file descriptor.
<init> |
A file descriptor. MediaFileDescriptor(suffix: String, name: String, id: String = Dice.newId(), type: AttachmentType = UploadedFilesService.attachmentType(suffix), externalUrl: String? = null) |
externalUrl |
val externalUrl: String? |
id |
val id: String |
name |
val name: String |
suffix |
val suffix: String |
type |
val type: AttachmentType |
toMessage |
Creates a MediaMessage for the specified BotBus. fun toMessage(bus: BotBus): MediaFile |