mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
40 lines
834 B
C#
40 lines
834 B
C#
using System.IO;
|
|
namespace TeleSharp.TL.Messages
|
|
{
|
|
[TLObject(-1663561404)]
|
|
public class TLChatsSlice : TLAbsChats
|
|
{
|
|
public override int Constructor
|
|
{
|
|
get
|
|
{
|
|
return -1663561404;
|
|
}
|
|
}
|
|
|
|
public int count { get; set; }
|
|
public TLVector<TLAbsChat> chats { 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);
|
|
|
|
}
|
|
}
|
|
}
|