TLSharp/TeleSharp.TL/TL/TLInputDocumentFileLocation.cs
2017-04-13 13:38:01 +07:00

34 lines
794 B
C#

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