Package org. matrix. android. sdk. api. session. events. model
Types
{
"chunk": [
{
"type": "m.reaction",
"key": "👍",
"count": 3
}
],
"limited": false,
"count": 1
},
Server side relation aggregation.
Note that there can be multiple events with an m.replace relationship to a given event (for example, if an event is edited multiple times). These should be aggregated by the homeserver. https://spec.matrix.org/v1.4/client-server-api/#server-side-aggregation-of-mreplace-relationships
Generic event class with all possible fields for events. The content and prevContent json fields can easily be mapped to a model with toModel method.
{
"type": "m.reaction",
"key": "👍",
"count": 3
}
Constants defining known event relation types from Matrix specifications.
Functions
Return the value of "content.msgtype", if the Event type is "m.room.message" and if the content has it, and if it is a String.
Returns the poll question or null otherwise.
Returns the relation content for a specific type or null otherwise.