ReactionEventContent

@Serializable
data class ReactionEventContent(val relatesTo: RelatesTo.Annotation? = null, val externalUrl: String? = null) : MessageEventContent

Constructors

Link copied to clipboard
constructor(relatesTo: RelatesTo.Annotation? = null, externalUrl: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "external_url")
open override val externalUrl: String?
Link copied to clipboard
@Transient
open override val mentions: Mentions? = null
Link copied to clipboard
@SerialName(value = "m.relates_to")
open override val relatesTo: RelatesTo.Annotation?

Functions

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

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