1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGSharedMediaGroup.h
2015-10-01 19:19:52 +03:00

20 lines
590 B
Objective-C

#import <Foundation/Foundation.h>
typedef enum {
TGSharedMediaGroupContentTypeUnknown,
TGSharedMediaGroupContentTypeImage,
TGSharedMediaGroupContentTypeVideo,
TGSharedMediaGroupContentTypeFile,
TGSharedMediaGroupContentTypeLink
} TGSharedMediaGroupContentType;
@interface TGSharedMediaGroup : NSObject
@property (nonatomic, readonly) NSTimeInterval date;
@property (nonatomic, strong, readonly) NSArray *items;
@property (nonatomic, readonly) TGSharedMediaGroupContentType contentType;
- (instancetype)initWithDate:(NSTimeInterval)date items:(NSArray *)items;
@end