Signal-iOS/SignalMessaging/ViewModels/CVItemViewModel.h
2020-12-11 16:49:14 -03:00

28 lines
847 B
Objective-C

//
// Copyright (c) 2020 Open Whisper Systems. All rights reserved.
//
NS_ASSUME_NONNULL_BEGIN
@class ContactShareViewModel;
@class OWSLinkPreview;
@class StickerInfo;
@class StickerMetadata;
@class TSAttachment;
@class TSAttachmentStream;
@class TSInteraction;
@protocol CVItemViewModel <NSObject>
@property (nonatomic, readonly) TSInteraction *interaction;
@property (nonatomic, readonly, nullable) ContactShareViewModel *contactShare;
@property (nonatomic, readonly, nullable) OWSLinkPreview *linkPreview;
@property (nonatomic, readonly, nullable) TSAttachment *linkPreviewAttachment;
@property (nonatomic, readonly, nullable) StickerInfo *stickerInfo;
@property (nonatomic, readonly, nullable) TSAttachmentStream *stickerAttachment;
@property (nonatomic, readonly, nullable) StickerMetadata *stickerMetadata;
@end
NS_ASSUME_NONNULL_END