mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +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
|