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