mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
38 lines
735 B
C#
38 lines
735 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL
|
|
{
|
|
[TLObject(1815593308)]
|
|
public class TLDocumentAttributeImageSize : TLAbsDocumentAttribute
|
|
{
|
|
public override int Constructor
|
|
{
|
|
get
|
|
{
|
|
return 1815593308;
|
|
}
|
|
}
|
|
|
|
public int H { get; set; }
|
|
|
|
public int W { get; set; }
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
W = br.ReadInt32();
|
|
H = br.ReadInt32();
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
bw.Write(W);
|
|
bw.Write(H);
|
|
}
|
|
}
|
|
}
|