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

42 lines
877 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(1125058340)]
public class TLInputDocumentFileLocation : TLAbsInputFileLocation
{
public long AccessHash { get; set; }
public override int Constructor
{
get
{
return 1125058340;
}
}
public long Id { get; set; }
public int Version { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Id = br.ReadInt64();
AccessHash = br.ReadInt64();
Version = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Id);
bw.Write(AccessHash);
bw.Write(Version);
}
}
}