Optional
setStateOptions: IMarkerFoundOptionsThe matrix event which caused this event to fire.
The room state whose RoomState.events dictionary was updated.
matrixClient.on("RoomState.events", function(event, state, prevEvent){
var newStateEvent = event;
});
Fires whenever a member in the members dictionary is updated in any way.
The matrix event which caused this event to fire.
The room state whose RoomState.members dictionary was updated.
The room member that was updated.
matrixClient.on("RoomState.members", function(event, state, member){
var newMembershipState = member.membership;
});
Fires whenever a member is added to the members dictionary. The RoomMember will not be fully populated yet (e.g. no membership state) but will already be available in the members dictionary.
The matrix event which caused this event to fire.
The room state whose RoomState.members dictionary was updated with a new entry.
The room member that was added.
matrixClient.on("RoomState.newMember", function(event, state, member){
// add event listeners on 'member'
});
Generated using TypeDoc
Fires whenever the event dictionary in room state is updated.