NCChatBlock.h 633 B

123456789101112131415161718192021
  1. /**
  2. * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: GPL-3.0-or-later
  4. */
  5. #import <Foundation/Foundation.h>
  6. #import <Realm/Realm.h>
  7. NS_ASSUME_NONNULL_BEGIN
  8. @interface NCChatBlock : RLMObject
  9. @property (nonatomic, strong) NSString *internalId; // accountId@token (same as room internal id)
  10. @property (nonatomic, strong) NSString *accountId;
  11. @property (nonatomic, strong) NSString *token;
  12. @property (nonatomic, assign) NSInteger oldestMessageId;
  13. @property (nonatomic, assign) NSInteger newestMessageId;
  14. @property (nonatomic, assign) BOOL hasHistory;
  15. @end
  16. NS_ASSUME_NONNULL_END