public override void deserializeBody(InputStream stream, TLContext context) { this.peer = StreamingUtils.readTLObject(stream, context); this.randomId = StreamingUtils.readLong(stream); this.data = StreamingUtils.readTLBytes(stream, context); this.file = StreamingUtils.readTLObject(stream, context); }
public void AcceptEncryptionAsync(TLInputEncryptedChat peer, TLString gb, TLLong keyFingerprint, Action <TLEncryptedChatBase> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLAcceptEncryption { Peer = peer, GB = gb, KeyFingerprint = keyFingerprint }; SendInformativeMessage <TLEncryptedChatBase>("messages.acceptEncryption", obj, encryptedChat => { _cacheService.SyncEncryptedChat(encryptedChat, callback.SafeInvoke); }, faultCallback); }
public virtual void setPeer(TLInputEncryptedChat value) { this.peer = value; }
public override void deserializeBody(InputStream stream, TLContext context) { this.peer = StreamingUtils.readTLObject(stream, context); this.maxDate = StreamingUtils.readInt(stream); }
public override void deserializeBody(InputStream stream, TLContext context) { this.peer = StreamingUtils.readTLObject(stream, context); this.gB = StreamingUtils.readTLBytes(stream, context); this.keyFingerprint = StreamingUtils.readLong(stream); }