Aggregated Relations
@JsonClass(generateAdapter = true )
Content copied to clipboard
Server side relation aggregation.
{
"m.annotation": {
"chunk": [
{
"type": "m.reaction",
"key": "👍",
"count": 3
}
],
"limited": false,
"count": 1
},
"m.reference": {
"chunk": [
{
"type": "m.room.message",
"event_id": "$some_event_id"
}
],
"limited": false,
"count": 1
}
}
Content copied to clipboard
Constructors
Link copied to clipboard
fun AggregatedRelations( @Json(name = "m.annotation" ) annotations: AggregatedAnnotation? = null, @Json(name = "m.reference" ) references: DefaultUnsignedRelationInfo? = null, @Json(name = "m.replace" ) replaces: AggregatedReplace? = null, @Json(name = "m.thread" ) latestThread: LatestThreadUnsignedRelation? = null)
Content copied to clipboard