#import "TLRPCmessages_sendMedia_manual.h" #import "TL/TLMetaScheme.h" #import "TLMetaClassStore.h" @implementation TLRPCmessages_sendMedia_manual - (int32_t)TLconstructorSignature { return 762913713; } - (int32_t)TLconstructorName { return -1; } - (Class)responseClass { return [TLUpdates class]; } - (int)impliedResponseSignature { return 0; } - (int)layerVersion { return 26; } - (void)TLserialize:(NSOutputStream *)os { [os writeInt32:_flags]; TLMetaClassStore::serializeObject(os, _peer, true); if (_flags & (1 << 0)) [os writeInt32:_reply_to_msg_id]; TLMetaClassStore::serializeObject(os, _media, true); [os writeInt64:_random_id]; } - (id)TLdeserialize:(NSInputStream *)__unused is signature:(int32_t)__unused signature environment:(id)__unused environment context:(TLSerializationContext *)__unused context error:(__autoreleasing NSError **)__unused error { TGLog(@"***** TLRPCmessages_sendMedia_manual deserialization not supported"); return nil; } @end