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

31 lines
670 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(-100378723)]
public class TLMessageEntityMention : TLAbsMessageEntity
{
public override int Constructor => -100378723;
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);
}
}
}