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

31 lines
522 B
Objective-C

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