Constructors

Link copied to clipboard
constructor(raw: JsonObject, blocks: EventContentBlocks, eventType: String)

Properties

Link copied to clipboard
open override val blocks: EventContentBlocks
Link copied to clipboard
Link copied to clipboard
open override val externalUrl: String? = null
Link copied to clipboard
open override val legacy: ExtensibleEventContent.Legacy.None? = null
Link copied to clipboard
open override val mentions: Mentions? = null
Link copied to clipboard
val raw: JsonObject
Link copied to clipboard
open override val relatesTo: RelatesTo? = null

Functions

Link copied to clipboard
open override fun copyWith(relatesTo: RelatesTo?): UnknownEventContent

This should return the same instance, but with the relatesTo property set to the given value. It is used for event content replacing.