RoomMessageEventContent

See also

Types

Link copied to clipboard
@Serializable
data class AudioMessageEventContent(val body: String, val info: AudioInfo? = null, val url: String? = null, val file: EncryptedFile? = null, val relatesTo: RelatesTo? = null) : RoomMessageEventContent
Link copied to clipboard
@Serializable
data class EmoteMessageEventContent(val body: String, val format: String? = null, val formattedBody: String? = null, val relatesTo: RelatesTo? = null) : RoomMessageEventContent
Link copied to clipboard
@Serializable
data class FileMessageEventContent(val body: String, val fileName: String? = null, val info: FileInfo? = null, val url: String? = null, val file: EncryptedFile? = null, val relatesTo: RelatesTo? = null) : RoomMessageEventContent
Link copied to clipboard
@Serializable
data class ImageMessageEventContent(val body: String, val info: ImageInfo? = null, val url: String? = null, val file: EncryptedFile? = null, val relatesTo: RelatesTo? = null) : RoomMessageEventContent
Link copied to clipboard
@Serializable
data class NoticeMessageEventContent(val body: String, val format: String? = null, val formattedBody: String? = null, val relatesTo: RelatesTo? = null) : RoomMessageEventContent
Link copied to clipboard
@Serializable
data class TextMessageEventContent(val body: String, val format: String? = null, val formattedBody: String? = null, val relatesTo: RelatesTo? = null) : RoomMessageEventContent
Link copied to clipboard
data class UnknownRoomMessageEventContent(val type: String, val body: String, val raw: JsonObject, val relatesTo: RelatesTo? = null) : RoomMessageEventContent
Link copied to clipboard
@Serializable
data class VerificationRequestMessageEventContent(val fromDevice: String, val to: UserId, val methods: Set<VerificationMethod>, val body: String = "Attempting verification request (m.key.verification.request). Apparently your client doesn't support this.", val relatesTo: RelatesTo? = null) : RoomMessageEventContent, VerificationRequest
Link copied to clipboard
@Serializable
data class VideoMessageEventContent(val body: String, val info: VideoInfo? = null, val url: String? = null, val file: EncryptedFile? = null, val relatesTo: RelatesTo? = null) : RoomMessageEventContent

Properties

Link copied to clipboard
abstract val body: String
Link copied to clipboard
abstract val relatesTo: RelatesTo?

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard