Package org.matrix.android.sdk.api.session.room.taggedevents

Types

Link copied to clipboard
typealias TaggedEvent = Map<String, TaggedEventInfo>

Keys are event IDs, values are event information.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class TaggedEventInfo(    @Json(name = "keywords") val keywords: List<String>? = null,     @Json(name = "origin_server_ts") val originServerTs: Long? = null,     @Json(name = "tagged_at") val taggedAt: Long? = null)
Link copied to clipboard
typealias TaggedEvents = Map<String, TaggedEvent>

Keys are tagged event names (eg. m.favourite), values are the related events.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class TaggedEventsContent(@Json(name = "tags") var tags: TaggedEvents = emptyMap())

Class used to parse the content of a m.tagged_events type event. This kind of event defines the tagged events in a room.