Parses an event from a JSONValue, use casting or the type field to determine it's type.
keepJSONReference determines if the JSONValue should be kept in the MatrixEvent object.
You can override this function in your program if you need support for more event types.
Parses an event from a JSONValue, use casting or the type field to determine it's type. keepJSONReference determines if the JSONValue should be kept in the MatrixEvent object. You can override this function in your program if you need support for more event types.