trixnity-core
3.10.0
common
trixnity-core
/
net.folivo.trixnity.core.model.events.m.room
/
RoomMessageEventContent
/
TextMessageEventContent
Text
Message
Event
Content
@
Serializable
data
class
TextMessageEventContent
(
val
body
:
String
,
val
format
:
String
?
=
null
,
val
formattedBody
:
String
?
=
null
,
val
relatesTo
:
RelatesTo
?
=
null
,
val
mentions
:
Mentions
?
=
null
)
:
RoomMessageEventContent
See also
matrix spec
Members
Members & Extensions
Constructors
Text
Message
Event
Content
Link copied to clipboard
constructor
(
body
:
String
,
format
:
String
?
=
null
,
formattedBody
:
String
?
=
null
,
relatesTo
:
RelatesTo
?
=
null
,
mentions
:
Mentions
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
body
Link copied to clipboard
open
override
val
body
:
String
body
Without
Fallback
Link copied to clipboard
val
RoomMessageEventContent
.
bodyWithoutFallback
:
String
format
Link copied to clipboard
val
format
:
String
?
=
null
formatted
Body
Link copied to clipboard
val
formattedBody
:
String
?
=
null
formatted
Body
Without
Fallback
Link copied to clipboard
val
RoomMessageEventContent.TextMessageEventContent
.
formattedBodyWithoutFallback
:
String
?
mentions
Link copied to clipboard
open
override
val
mentions
:
Mentions
?
=
null
relates
To
Link copied to clipboard
open
override
val
relatesTo
:
RelatesTo
?
=
null
type
Link copied to clipboard
val
type
:
String
Functions
get
Formatted
Body
Link copied to clipboard
fun
RoomMessageEventContent
.
getFormattedBody
(
)
:
String
?