mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
31 lines
650 B
C#
31 lines
650 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL
|
|
{
|
|
[TLObject(1815593308)]
|
|
public class TLDocumentAttributeImageSize : TLAbsDocumentAttribute
|
|
{
|
|
public override int Constructor => 1815593308;
|
|
|
|
public int w { get; set; }
|
|
public int h { 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);
|
|
}
|
|
}
|
|
} |