mirror of
https://github.com/danog/Telegram.git
synced 2024-12-13 01:47:31 +01:00
17 lines
513 B
Objective-C
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
|