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

31 lines
673 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(1827637959)]
public class TLMessageEntityBotCommand : TLAbsMessageEntity
{
public override int Constructor => 1827637959;
public int offset { get; set; }
public int length { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
offset = br.ReadInt32();
length = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(offset);
bw.Write(length);
}
}
}