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

42 lines
876 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(2086234950)]
public class TLFileLocationUnavailable : TLAbsFileLocation
{
public override int Constructor
{
get
{
return 2086234950;
}
}
public int LocalId { get; set; }
public long Secret { get; set; }
public long VolumeId { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
VolumeId = br.ReadInt64();
LocalId = br.ReadInt32();
Secret = br.ReadInt64();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(VolumeId);
bw.Write(LocalId);
bw.Write(Secret);
}
}
}