mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
41 lines
828 B
C#
41 lines
828 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL.Account
|
|
{
|
|
[TLObject(954152242)]
|
|
public class TLRequestUpdateDeviceLocked : TLMethod
|
|
{
|
|
public override int Constructor
|
|
{
|
|
get
|
|
{
|
|
return 954152242;
|
|
}
|
|
}
|
|
|
|
public int Period { get; set; }
|
|
|
|
public bool Response { get; set; }
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
Period = br.ReadInt32();
|
|
}
|
|
|
|
public override void DeserializeResponse(BinaryReader br)
|
|
{
|
|
Response = BoolUtil.Deserialize(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
bw.Write(Period);
|
|
}
|
|
}
|
|
}
|