TLSharp/TeleSharp.TL/TL/TLInputEncryptedFileBigUploaded.cs

42 lines
885 B
C#
Raw Normal View History

2016-09-24 15:38:26 +02:00
using System.IO;
2017-12-20 12:06:31 +01:00
2016-09-24 15:38:26 +02:00
namespace TeleSharp.TL
{
[TLObject(767652808)]
2016-09-24 15:38:26 +02:00
public class TLInputEncryptedFileBigUploaded : TLAbsInputEncryptedFile
{
public override int Constructor
{
get
{
return 767652808;
}
}
public long Id { get; set; }
2017-12-20 12:06:31 +01:00
public int KeyFingerprint { get; set; }
2016-09-24 15:38:26 +02:00
2017-12-20 12:06:31 +01:00
public int Parts { get; set; }
2016-09-24 15:38:26 +02:00
public void ComputeFlags()
{
}
2016-09-24 15:38:26 +02:00
public override void DeserializeBody(BinaryReader br)
{
Id = br.ReadInt64();
Parts = br.ReadInt32();
KeyFingerprint = br.ReadInt32();
2016-09-24 15:38:26 +02:00
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Id);
bw.Write(Parts);
bw.Write(KeyFingerprint);
2016-09-24 15:38:26 +02:00
}
}
}