mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 10:27:46 +01:00
26 lines
541 B
Objective-C
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
|