TLSharp/TeleSharp.TL/TL/TLKeyboardButtonCallback.cs
2017-04-13 13:38:01 +07:00

31 lines
721 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(1748655686)]
public class TLKeyboardButtonCallback : TLAbsKeyboardButton
{
public override int Constructor => 1748655686;
public string text { get; set; }
public byte[] data { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
text = StringUtil.Deserialize(br);
data = BytesUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(text, bw);
BytesUtil.Serialize(data, bw);
}
}
}