22 lines
467 B
Objective-C
22 lines
467 B
Objective-C
//
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "OWSMessageEditing.h"
|
|
#import <JSQMessagesViewController/JSQPhotoMediaItem.h>
|
|
|
|
@class TSAttachmentStream;
|
|
|
|
@interface TSAnimatedAdapter : JSQMediaItem <OWSMessageEditing>
|
|
|
|
- (instancetype)initWithAttachment:(TSAttachmentStream *)attachment incoming:(BOOL)incoming;
|
|
|
|
- (BOOL)isImage;
|
|
- (BOOL)isAudio;
|
|
- (BOOL)isVideo;
|
|
|
|
@property NSString *attachmentId;
|
|
@property NSData *fileData;
|
|
|
|
@end
|