trixnity-core
3.7.0-beta3
common
trixnity-core
/
net.folivo.trixnity.core.model.events.m.room
/
RoomMessageEventContent
/
NoticeMessageEventContent
Notice
Message
Event
Content
@
Serializable
data
class
NoticeMessageEventContent
(
val
body
:
String
,
val
format
:
String
?
=
null
,
val
formattedBody
:
String
?
=
null
,
val
relatesTo
:
RelatesTo
?
=
null
)
:
RoomMessageEventContent
See also
matrix spec
Members
Members & Extensions
Constructors
Notice
Message
Event
Content
Link copied to clipboard
constructor
(
body
:
String
,
format
:
String
?
=
null
,
formattedBody
:
String
?
=
null
,
relatesTo
:
RelatesTo
?
=
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.NoticeMessageEventContent
.
formattedBodyWithoutFallback
:
String
?
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
?