Package-level declarations

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ReactionContent(@Json(name = "m.relates_to") val relatesTo: ReactionInfo? = null)
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ReactionInfo(@Json(name = "rel_type") val type: String?, @Json(name = "event_id") val eventId: String, @Json(name = "key") val key: String, @Json(name = "m.in_reply_to") val inReplyTo: ReplyToContent? = null, @Json(name = "option") val option: Int? = null, @Json(name = "is_falling_back") val isFallingBack: Boolean? = null) : RelationContent
Link copied to clipboard
interface RelationContent
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class RelationDefaultContent(@Json(name = "rel_type") val type: String?, @Json(name = "event_id") val eventId: String?, @Json(name = "m.in_reply_to") val inReplyTo: ReplyToContent? = null, @Json(name = "option") val option: Int? = null, @Json(name = "is_falling_back") val isFallingBack: Boolean? = null) : RelationContent
Link copied to clipboard
interface RelationService

In some cases, events may wish to reference other events. This could be to form a thread of messages for the user to follow along with, or to provide more context as to what a particular event is describing. Relation are used to associate new information with an existing event.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ReplyToContent(@Json(name = "event_id") val eventId: String? = null)

Functions