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

17 lines
513 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import <Foundation/Foundation.h>
@class TGMessage;
@class TGDocumentMediaAttachment;
@interface TGMusicPlayerItem : NSObject
@property (nonatomic, strong, readonly) id<NSObject, NSCopying> key;
@property (nonatomic, strong, readonly) TGDocumentMediaAttachment *document;
@property (nonatomic, readonly) int64_t peerId;
+ (instancetype)itemWithMessage:(TGMessage *)message;
- (instancetype)initWithKey:(id<NSObject, NSCopying>)key document:(TGDocumentMediaAttachment *)document peerId:(int64_t)peerId;
@end