TLSharp/TeleSharp.TL/TL/Photos/TLPhotosSlice.cs
Andrzej Gołaszewski ca3a71e39a update to layer 71
code formatting
2017-12-20 12:06:31 +01:00

42 lines
1 KiB
C#

using System.IO;
namespace TeleSharp.TL.Photos
{
[TLObject(352657236)]
public class TLPhotosSlice : TLAbsPhotos
{
public override int Constructor
{
get
{
return 352657236;
}
}
public int Count { get; set; }
public TLVector<TLAbsPhoto> Photos { get; set; }
public TLVector<TLAbsUser> Users { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Count = br.ReadInt32();
Photos = (TLVector<TLAbsPhoto>)ObjectUtils.DeserializeVector<TLAbsPhoto>(br);
Users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Count);
ObjectUtils.SerializeObject(Photos, bw);
ObjectUtils.SerializeObject(Users, bw);
}
}
}