2015-09-01 04:51:39 +02:00
|
|
|
//
|
2017-03-15 14:23:21 +01:00
|
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
2015-09-01 04:51:39 +02:00
|
|
|
//
|
|
|
|
|
2016-03-11 19:34:39 +01:00
|
|
|
#import "OWSMessageEditing.h"
|
2015-09-01 04:51:39 +02:00
|
|
|
#import <JSQMessagesViewController/JSQPhotoMediaItem.h>
|
|
|
|
|
2016-03-11 19:34:39 +01:00
|
|
|
@class TSAttachmentStream;
|
|
|
|
|
|
|
|
@interface TSAnimatedAdapter : JSQMediaItem <OWSMessageEditing>
|
2015-09-01 04:51:39 +02:00
|
|
|
|
2017-03-15 14:23:21 +01:00
|
|
|
- (instancetype)initWithAttachment:(TSAttachmentStream *)attachment incoming:(BOOL)incoming;
|
2015-09-01 04:51:39 +02:00
|
|
|
|
|
|
|
- (BOOL)isImage;
|
|
|
|
- (BOOL)isAudio;
|
|
|
|
- (BOOL)isVideo;
|
|
|
|
|
|
|
|
@property NSString *attachmentId;
|
2016-03-11 19:34:39 +01:00
|
|
|
@property NSData *fileData;
|
2015-09-01 04:51:39 +02:00
|
|
|
|
|
|
|
@end
|