Пример #1
0
 public LeftRoom(State state, Timeline timeline, EventsContainer accountData)
     : this()
 {
     State       = state;
     Timeline    = timeline;
     AccountData = accountData;
 }
Пример #2
0
 public JoinedRoom(
     State state,
     Timeline timeline,
     EventsContainer ephemeral,
     EventsContainer accountData,
     UnreadCounts unreadCounts)
     : this()
 {
     State        = state;
     Timeline     = timeline;
     Ephemeral    = ephemeral;
     AccountData  = accountData;
     UnreadCounts = unreadCounts;
 }
Пример #3
0
 public SyncResponse(
     string nextBatchToken,
     SyncedRooms rooms,
     EventsContainer presence,
     EventsContainer accountData,
     ToDevice?toDevice,
     DeviceChangeLists?deviceChangeLists,
     [CanBeNull] IReadOnlyDictionary <string, int> deviceOneTimeKeysCount)
     : this()
 {
     NextBatchToken         = nextBatchToken;
     Rooms                  = rooms;
     Presence               = presence;
     AccountData            = accountData;
     ToDevice               = toDevice;
     DeviceChangeLists      = deviceChangeLists;
     DeviceOneTimeKeysCount = deviceOneTimeKeysCount;
 }