trixnity-core
Toggle table of contents
4.12.2
common
Platform filter
common
Switch theme
Search in API
trixnity-core
trixnity-core
/
net.folivo.trixnity.core.model.events.m.room
/
RoomMessageEventContent
/
FileBased
File
Based
sealed
interface
FileBased
:
RoomMessageEventContent
Inheritors
Image
File
Audio
Video
Members
Members & Extensions
Types
Audio
Link copied to clipboard
@
Serializable
data
class
Audio
(
val
body
:
String
,
val
format
:
String
?
=
null
,
val
formattedBody
:
String
?
=
null
,
val
fileName
:
String
?
=
null
,
val
info
:
AudioInfo
?
=
null
,
val
url
:
String
?
=
null
,
val
file
:
EncryptedFile
?
=
null
,
val
relatesTo
:
RelatesTo
?
=
null
,
val
mentions
:
Mentions
?
=
null
,
val
externalUrl
:
String
?
=
null
)
:
RoomMessageEventContent.FileBased
File
Link copied to clipboard
@
Serializable
data
class
File
(
val
body
:
String
,
val
format
:
String
?
=
null
,
val
formattedBody
:
String
?
=
null
,
val
fileName
:
String
?
=
null
,
val
info
:
FileInfo
?
=
null
,
val
url
:
String
?
=
null
,
val
file
:
EncryptedFile
?
=
null
,
val
relatesTo
:
RelatesTo
?
=
null
,
val
mentions
:
Mentions
?
=
null
,
val
externalUrl
:
String
?
=
null
)
:
RoomMessageEventContent.FileBased
Image
Link copied to clipboard
@
Serializable
data
class
Image
(
val
body
:
String
,
val
format
:
String
?
=
null
,
val
formattedBody
:
String
?
=
null
,
val
fileName
:
String
?
=
null
,
val
info
:
ImageInfo
?
=
null
,
val
url
:
String
?
=
null
,
val
file
:
EncryptedFile
?
=
null
,
val
relatesTo
:
RelatesTo
?
=
null
,
val
mentions
:
Mentions
?
=
null
,
val
externalUrl
:
String
?
=
null
)
:
RoomMessageEventContent.FileBased
Video
Link copied to clipboard
@
Serializable
data
class
Video
(
val
body
:
String
,
val
format
:
String
?
=
null
,
val
formattedBody
:
String
?
=
null
,
val
fileName
:
String
?
=
null
,
val
info
:
VideoInfo
?
=
null
,
val
url
:
String
?
=
null
,
val
file
:
EncryptedFile
?
=
null
,
val
relatesTo
:
RelatesTo
?
=
null
,
val
mentions
:
Mentions
?
=
null
,
val
externalUrl
:
String
?
=
null
)
:
RoomMessageEventContent.FileBased
Properties
body
Link copied to clipboard
abstract
val
body
:
String
body
Without
Fallback
Link copied to clipboard
val
RoomMessageEventContent
.
bodyWithoutFallback
:
String
external
Url
Link copied to clipboard
abstract
val
externalUrl
:
String
?
file
Link copied to clipboard
abstract
val
file
:
EncryptedFile
?
file
Name
Link copied to clipboard
abstract
val
fileName
:
String
?
format
Link copied to clipboard
abstract
val
format
:
String
?
formatted
Body
Link copied to clipboard
abstract
val
formattedBody
:
String
?
formatted
Body
Without
Fallback
Link copied to clipboard
val
RoomMessageEventContent
.
formattedBodyWithoutFallback
:
String
?
info
Link copied to clipboard
abstract
val
info
:
FileBasedInfo
?
mentions
Link copied to clipboard
abstract
val
mentions
:
Mentions
?
relates
To
Link copied to clipboard
abstract
val
relatesTo
:
RelatesTo
?
url
Link copied to clipboard
abstract
val
url
:
String
?