Values for the event.
Content of the event.
OptionaleventId?: stringOptional event_id for the event. If provided will be used as event ID; else an ID is generated.
Room ID of the event.
The sender of the event.
OptionalstateKey?: stringOptional state_key for the event. If unspecified, a non-state event is created.
Optionalts?: numberOptional origin_server_ts for the event. If unspecified, the timestamp will be set to 0.
The type of the event.
Optionalunsigned?: IUnsignedOptional unsigned data for the event.
Create a MatrixEvent.