public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.flags = StreamingUtils.readInt(stream);
     this.id    = StreamingUtils.readTLString(stream);
     this.type  = StreamingUtils.readTLString(stream);
     if ((this.flags & 2) != 0)
     {
         this.title = StreamingUtils.readTLString(stream);
     }
     if ((this.flags & 4) != 0)
     {
         this.description = StreamingUtils.readTLString(stream);
     }
     this.document    = StreamingUtils.readTLObject(stream, context);
     this.sendMessage = StreamingUtils.readTLObject(stream, context);
 }
예제 #2
0
 public virtual void setId(TLAbsInputDocument value)
 {
     this.id = value;
 }
예제 #3
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.id      = StreamingUtils.readTLObject(stream, context);
     this.caption = StreamingUtils.readTLString(stream);
 }
예제 #4
0
 public override void DeserializeBody(BinaryReader br)
 {
     id = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br);
     caption = StringUtil.Deserialize(br);
 }
예제 #5
0
 public override void DeserializeBody(BinaryReader br)
 {
     Id = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br);
 }