NCMessageFileParameter.h 768 B

12345678910111213141516171819202122232425262728
  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 <UIKit/UIKit.h>
  7. #import "NCMessageParameter.h"
  8. @class NCChatFileStatus;
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface NCMessageFileParameter : NCMessageParameter
  11. @property (nonatomic, strong) NSString * _Nullable path;
  12. @property (nonatomic, strong) NSString *mimetype;
  13. @property (nonatomic, assign) NSInteger size;
  14. @property (nonatomic, assign) BOOL previewAvailable;
  15. @property (nonatomic, strong, nullable) NCChatFileStatus *fileStatus;
  16. @property (nonatomic, assign) int previewImageHeight;
  17. @property (nonatomic, assign) int width;
  18. @property (nonatomic, assign) int height;
  19. @end
  20. NS_ASSUME_NONNULL_END