TLSharp/src/TgSharp.TL/TL/Account/TLRequestGetWallPapers.cs
2020-09-11 17:15:25 +08:00

48 lines
1 KiB
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Account
{
[TLObject(-1430579357)]
public class TLRequestGetWallPapers : TLMethod
{
public override int Constructor
{
get
{
return -1430579357;
}
}
public int Hash { get; set; }
public Account.TLAbsWallPapers Response { get; set; }
public void ComputeFlags()
{
// do nothing
}
public override void DeserializeBody(BinaryReader br)
{
Hash = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Hash);
}
public override void DeserializeResponse(BinaryReader br)
{
Response = (Account.TLAbsWallPapers)ObjectUtils.DeserializeObject(br);
}
}
}