mirror of
https://github.com/danog/Telegram.git
synced 2024-12-12 17:37:33 +01:00
20 lines
590 B
Objective-C
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
|