TLSharp/TeleSharp.TL/TL/TLReplyKeyboardForceReply.cs
Andrzej Gołaszewski ca3a71e39a update to layer 71
code formatting
2017-12-20 12:06:31 +01:00

40 lines
819 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(-200242528)]
public class TLReplyKeyboardForceReply : TLAbsReplyMarkup
{
public override int Constructor
{
get
{
return -200242528;
}
}
public int Flags { get; set; }
public bool Selective { get; set; }
public bool SingleUse { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Flags = br.ReadInt32();
SingleUse = (Flags & 2) != 0;
Selective = (Flags & 4) != 0;
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Flags);
}
}
}