1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/TGMusicPlayerItem.h
2015-10-01 19:19:52 +03:00

17 lines
513 B
Objective-C

#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