mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
34 lines
839 B
C#
34 lines
839 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL
|
|
{
|
|
[TLObject(1757493555)]
|
|
public class TLUpdateReadMessagesContents : TLAbsUpdate
|
|
{
|
|
public override int Constructor => 1757493555;
|
|
|
|
public TLVector<int> messages { get; set; }
|
|
public int pts { get; set; }
|
|
public int pts_count { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
messages = ObjectUtils.DeserializeVector<int>(br);
|
|
pts = br.ReadInt32();
|
|
pts_count = br.ReadInt32();
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
ObjectUtils.SerializeObject(messages, bw);
|
|
bw.Write(pts);
|
|
bw.Write(pts_count);
|
|
}
|
|
}
|
|
} |