Пример #1
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.chatId  = StreamingUtils.readInt(stream);
     this.userId  = StreamingUtils.readInt(stream);
     this.isAdmin = StreamingUtils.readTLBool(stream);
     this.version = StreamingUtils.readInt(stream);
 }
Пример #2
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.userId   = StreamingUtils.readInt(stream);
     this.date     = StreamingUtils.readInt(stream);
     this.photo    = StreamingUtils.readTLObject(stream, context);
     this.previous = StreamingUtils.readTLBool(stream);
 }
Пример #3
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     base.id       = StreamingUtils.readInt(stream);
     base.critical = StreamingUtils.readTLBool(stream);
     base.url      = StreamingUtils.readTLString(stream);
     base.text     = StreamingUtils.readTLString(stream);
 }
Пример #4
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.currentSalt             = StreamingUtils.readTLBytes(stream, context);
     base.newSalt                 = StreamingUtils.readTLBytes(stream, context);
     this.hint                    = StreamingUtils.readTLString(stream);
     this.hasRecovery             = StreamingUtils.readTLBool(stream);
     base.emailUnconfirmedPattern = StreamingUtils.readTLString(stream);
 }
Пример #5
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.flags       = StreamingUtils.readInt(stream);
     this.phoneNumber = StreamingUtils.readTLString(stream);
     if ((this.flags & 1) != 0)
     {
         this.currentPhoneNumber = Boolean.valueOf(StreamingUtils.readTLBool(stream));
     }
     this.apiId   = StreamingUtils.readInt(stream);
     this.apiHash = StreamingUtils.readTLString(stream);
 }
Пример #6
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.offline = StreamingUtils.readTLBool(stream);
 }
Пример #7
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.userId = StreamingUtils.readInt(stream);
     this.mutual = StreamingUtils.readTLBool(stream);
 }
Пример #8
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.peer   = StreamingUtils.readTLObject(stream, context);
     this.typing = StreamingUtils.readTLBool(stream);
 }
Пример #9
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.phoneRegistered = StreamingUtils.readTLBool(stream);
 }
Пример #10
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.contacts = StreamingUtils.readTLVector(stream, context);
     this.replace  = StreamingUtils.readTLBool(stream);
 }