1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Telegraph/TGMusicPlayerPlaylist.m

19 lines
482 B
Mathematica
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import "TGMusicPlayerPlaylist.h"
@implementation TGMusicPlayerPlaylist
2016-02-25 01:03:51 +01:00
- (instancetype)initWithVoice:(bool)voice items:(NSArray *)items itemKeyAliases:(NSDictionary *)itemKeyAliases markItemAsViewed:(void (^)(TGMusicPlayerItem *item))markItemAsViewed
2015-10-01 18:19:52 +02:00
{
self = [super init];
if (self != nil)
{
2016-02-25 01:03:51 +01:00
_voice = voice;
2015-10-01 18:19:52 +02:00
_items = items;
_itemKeyAliases = itemKeyAliases;
2016-02-25 01:03:51 +01:00
_markItemAsViewed = [markItemAsViewed copy];
2015-10-01 18:19:52 +02:00
}
return self;
}
@end