TLSharp/TeleSharp.TL/TL/Messages/TLChats.cs

43 lines
859 B
C#
Raw Permalink Normal View History

2016-09-24 15:38:26 +02:00
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Messages
{
[TLObject(1694474197)]
public class TLChats : TLAbsChats
2016-09-24 15:38:26 +02:00
{
public override int Constructor
{
get
{
return 1694474197;
}
}
public TLVector<TLAbsChat> Chats { get; set; }
2016-09-24 15:38:26 +02:00
public void ComputeFlags()
{
}
2016-09-24 15:38:26 +02:00
public override void DeserializeBody(BinaryReader br)
{
Chats = (TLVector<TLAbsChat>)ObjectUtils.DeserializeVector<TLAbsChat>(br);
2016-09-24 15:38:26 +02:00
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(Chats, bw);
2016-09-24 15:38:26 +02:00
}
}
}