public override void deserializeBody(InputStream stream, TLContext context) { this.flags = StreamingUtils.readInt(stream); this.user = StreamingUtils.readTLObject(stream, context); if ((this.flags & 2) != 0) { this.about = StreamingUtils.readTLString(stream); } this.link = StreamingUtils.readTLObject(stream, context); if ((this.flags & 4) != 0) { this.profilePhoto = StreamingUtils.readTLObject(stream, context); } this.notifySettings = StreamingUtils.readTLObject(stream, context); if ((this.flags & 8) != 0) { this.botInfo = StreamingUtils.readTLObject(stream, context); } this.commonChatsCount = StreamingUtils.readInt(stream); }
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 & 1) != 0) { this.photo = StreamingUtils.readTLObject(stream, context); } if ((this.flags & 2) != 0) { this.document = StreamingUtils.readTLObject(stream, context); } if ((this.flags & 4) != 0) { this.title = StreamingUtils.readTLString(stream); } if ((this.flags & 8) != 0) { this.description = StreamingUtils.readTLString(stream); } this.sendMessage = StreamingUtils.readTLObject(stream, context); }
public override void DeserializeBody(BinaryReader br) { photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); caption = StringUtil.Deserialize(br); }
public virtual void setPhoto(TLAbsPhoto photo) { this.photo = photo; }
public override void deserializeBody(InputStream stream, TLContext context) { this.url = StreamingUtils.readTLString(stream); this.photo = StreamingUtils.readTLObject(stream, context); this.document = StreamingUtils.readTLObject(stream, context); }
public override void DeserializeBody(BinaryReader br) { Photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); }
public override void deserializeBody(InputStream stream, TLContext context) { this.photo = StreamingUtils.readTLObject(stream, context); this.users = StreamingUtils.readTLVector(stream, context); }