Beispiel #1
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.type     = StreamingUtils.readTLString(stream);
     this.location = StreamingUtils.readTLObject(stream, context);
     this.w        = StreamingUtils.readInt(stream);
     this.h        = StreamingUtils.readInt(stream);
     this.bytes    = StreamingUtils.readTLBytes(stream, context);
 }
Beispiel #2
0
 public virtual void setPhoto_small(TLAbsFileLocation photo_small)
 {
     this.photo_small = photo_small;
 }
Beispiel #3
0
 public virtual void setPhoto_big(TLAbsFileLocation photo_big)
 {
     this.photo_big = photo_big;
 }
Beispiel #4
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.photo_small = StreamingUtils.readTLObject(stream, context);
     this.photo_big   = StreamingUtils.readTLObject(stream, context);
 }
Beispiel #5
0
 public override void DeserializeBody(BinaryReader br)
 {
     photo_small = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br);
     photo_big = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br);
 }
Beispiel #6
0
 public virtual void setLocation(TLAbsFileLocation location)
 {
     this.location = location;
 }
Beispiel #7
0
 public override void DeserializeBody(BinaryReader br)
 {
     PhotoSmall = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br);
     PhotoBig   = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br);
 }