1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/TGMusicPlayerPlaylist.m
2016-02-25 01:03:51 +01:00

19 lines
482 B
Objective-C

#import "TGMusicPlayerPlaylist.h"
@implementation TGMusicPlayerPlaylist
- (instancetype)initWithVoice:(bool)voice items:(NSArray *)items itemKeyAliases:(NSDictionary *)itemKeyAliases markItemAsViewed:(void (^)(TGMusicPlayerItem *item))markItemAsViewed
{
self = [super init];
if (self != nil)
{
_voice = voice;
_items = items;
_itemKeyAliases = itemKeyAliases;
_markItemAsViewed = [markItemAsViewed copy];
}
return self;
}
@end