TaggedEventsContent

@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.

The content of this event is a tags key whose value is an object mapping the name of each tag to another object. The JSON object associated with each tag is an object where the keys are the event IDs and values give information about the events.

Ref: https://github.com/matrix-org/matrix-doc/pull/2437

Constructors

Link copied to clipboard
fun TaggedEventsContent(@Json(name = "tags") tags: TaggedEvents = emptyMap())

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun tagEvent(    eventId: String,     info: TaggedEventInfo,     tag: String)
Link copied to clipboard
fun untagEvent(eventId: String, tag: String)

Properties

Link copied to clipboard
val favouriteEvents: Map<String, TaggedEventInfo>
Link copied to clipboard
val hiddenEvents: Map<String, TaggedEventInfo>
Link copied to clipboard
var tags: TaggedEvents