using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using TeleSharp.TL; namespace TeleSharp.TL.Photos { [TLObject(352657236)] public class TLPhotosSlice : TLAbsPhotos { public override int Constructor { get { return 352657236; } } public int count {get;set;} public TLVector photos {get;set;} public TLVector users {get;set;} public void ComputeFlags() { } public override void DeserializeBody(BinaryReader br) { count = br.ReadInt32(); photos = (TLVector)ObjectUtils.DeserializeVector(br); users = (TLVector)ObjectUtils.DeserializeVector(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(count); ObjectUtils.SerializeObject(photos,bw); ObjectUtils.SerializeObject(users,bw); } } }