1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 10:27:46 +01:00
Telegram/legacy/TelegraphKit/TGFutureAction.m
2015-10-01 19:19:52 +03:00

36 lines
445 B
Objective-C

#import "TGFutureAction.h"
@implementation TGFutureAction
- (id)initWithType:(int)type
{
self = [super init];
if (self != nil)
{
_type = type;
_randomId = (int)lrand48();
}
return self;
}
- (NSData *)serialize
{
TGAssert(false);
return nil;
}
- (TGFutureAction *)deserialize:(NSData *)__unused data
{
TGAssert(false);
return nil;
}
- (void)prepareForDeletion
{
}
@end