/// <summary> /// Add a new type of state event to be decoded during sync operations. /// </summary> /// <param name="msgtype">msgtype.</param> /// <param name="type">Type that inheritis MatrixMRoomMessage</param> public void AddStateEventType(string msgtype, Type type) { api.AddEventType(msgtype, type); }