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

31 lines
492 B
Objective-C

#import "TGRemoveContactFutureAction.h"
@implementation TGRemoveContactFutureAction
- (id)initWithUid:(int)uid
{
self = [super initWithType:TGRemoveContactFutureActionType];
if (self != nil)
{
self.uniqueId = uid;
}
return self;
}
- (int)uid
{
return (int)self.uniqueId;
}
- (NSData *)serialize
{
return [NSData data];
}
- (TGFutureAction *)deserialize:(NSData *)__unused data
{
return [[TGRemoveContactFutureAction alloc] initWithUid:0];
}
@end