TLSharp/TeleSharp.TL/TL/Messages/TLChatsSlice.cs
Andrzej Gołaszewski ca3a71e39a update to layer 71
code formatting
2017-12-20 12:06:31 +01:00

38 lines
832 B
C#

using System.IO;
namespace TeleSharp.TL.Messages
{
[TLObject(-1663561404)]
public class TLChatsSlice : TLAbsChats
{
public TLVector<TLAbsChat> Chats { get; set; }
public override int Constructor
{
get
{
return -1663561404;
}
}
public int Count { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Count = br.ReadInt32();
Chats = (TLVector<TLAbsChat>)ObjectUtils.DeserializeVector<TLAbsChat>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Count);
ObjectUtils.SerializeObject(Chats, bw);
}
}
}