1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 17:09:46 +01:00
Telegram/Telegraph/TGSharedMediaGroup.h

20 lines
590 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#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