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

26 lines
541 B
Objective-C

#import "TGAcceptEncryptionFutureAction.h"
@implementation TGAcceptEncryptionFutureAction
- (id)initWithEncryptedConversationId:(int64_t)encryptedConversationId
{
self = [super initWithType:TGAcceptEncryptionFutureActionType];
if (self != nil)
{
self.uniqueId = encryptedConversationId;
}
return self;
}
- (NSData *)serialize
{
return [NSData data];
}
- (TGFutureAction *)deserialize:(NSData *)__unused data
{
return [[TGAcceptEncryptionFutureAction alloc] initWithEncryptedConversationId:0];
}
@end