mirror of
https://github.com/danog/Telegram.git
synced 2024-12-03 09:57:46 +01:00
20 lines
590 B
C
20 lines
590 B
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
|