mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
48 lines
1.2 KiB
C#
48 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
using TgSharp.TL;
|
|
|
|
namespace TgSharp.TL.Account
|
|
{
|
|
[TLObject(1674235686)]
|
|
public class TLAutoDownloadSettings : TLObject
|
|
{
|
|
public override int Constructor
|
|
{
|
|
get
|
|
{
|
|
return 1674235686;
|
|
}
|
|
}
|
|
|
|
public TLAutoDownloadSettings Low { get; set; }
|
|
public TLAutoDownloadSettings Medium { get; set; }
|
|
public TLAutoDownloadSettings High { get; set; }
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
// do nothing
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
Low = (TLAutoDownloadSettings)ObjectUtils.DeserializeObject(br);
|
|
Medium = (TLAutoDownloadSettings)ObjectUtils.DeserializeObject(br);
|
|
High = (TLAutoDownloadSettings)ObjectUtils.DeserializeObject(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
ObjectUtils.SerializeObject(Low, bw);
|
|
ObjectUtils.SerializeObject(Medium, bw);
|
|
ObjectUtils.SerializeObject(High, bw);
|
|
}
|
|
}
|
|
}
|