1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TLDcOption$modernDcOption.mm
2015-10-01 19:19:52 +03:00

25 lines
760 B
Plaintext

#import "TLDcOption$modernDcOption.h"
#import "TLMetaClassStore.h"
@implementation TLDcOption$modernDcOption
- (void)TLserialize:(NSOutputStream *)__unused os
{
TGLog(@"***** TLDcOption$modernDcOption serialization not supported");
}
- (id<TLObject>)TLdeserialize:(NSInputStream *)is signature:(int32_t)__unused signature environment:(id<TLSerializationEnvironment>)__unused environment context:(TLSerializationContext *)__unused context error:(__autoreleasing NSError **)__unused error
{
TLDcOption$modernDcOption *object = [[TLDcOption$modernDcOption alloc] init];
object.flags = [is readInt32];
object.n_id = [is readInt32];
object.ip_address = [is readString];
object.port = [is readInt32];
return object;
}
@end