2016-09-24 15:38:26 +02:00
|
|
|
using System.IO;
|
2017-12-20 12:06:31 +01:00
|
|
|
|
2016-09-24 15:38:26 +02:00
|
|
|
namespace TeleSharp.TL.Contacts
|
|
|
|
|
{
|
2017-12-20 12:06:31 +01:00
|
|
|
[TLObject(2010127419)]
|
2016-09-24 15:38:26 +02:00
|
|
|
public class TLImportedContacts : TLObject
|
|
|
|
|
{
|
|
|
|
|
public override int Constructor
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2017-12-20 12:06:31 +01:00
|
|
|
return 2010127419;
|
2016-09-24 15:38:26 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-11-09 11:35:15 +01:00
|
|
|
public TLVector<TLImportedContact> Imported { get; set; }
|
2017-12-20 12:06:31 +01:00
|
|
|
|
|
|
|
|
public TLVector<TLPopularContact> PopularInvites { get; set; }
|
|
|
|
|
|
2017-11-09 11:35:15 +01:00
|
|
|
public TLVector<long> RetryContacts { get; set; }
|
2016-09-24 15:38:26 +02:00
|
|
|
|
2017-12-20 12:06:31 +01:00
|
|
|
public TLVector<TLAbsUser> Users { get; set; }
|
2016-09-24 15:38:26 +02:00
|
|
|
|
2017-07-20 04:07:24 +02:00
|
|
|
public void ComputeFlags()
|
|
|
|
|
{
|
|
|
|
|
}
|
2016-09-24 15:38:26 +02:00
|
|
|
|
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
|
|
|
{
|
2017-11-09 11:35:15 +01:00
|
|
|
Imported = (TLVector<TLImportedContact>)ObjectUtils.DeserializeVector<TLImportedContact>(br);
|
2017-12-20 12:06:31 +01:00
|
|
|
PopularInvites = (TLVector<TLPopularContact>)ObjectUtils.DeserializeVector<TLPopularContact>(br);
|
2017-11-09 11:35:15 +01:00
|
|
|
RetryContacts = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
|
|
|
|
|
Users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
2016-09-24 15:38:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
|
|
|
{
|
2017-07-20 04:07:24 +02:00
|
|
|
bw.Write(Constructor);
|
2017-11-09 11:35:15 +01:00
|
|
|
ObjectUtils.SerializeObject(Imported, bw);
|
2017-12-20 12:06:31 +01:00
|
|
|
ObjectUtils.SerializeObject(PopularInvites, bw);
|
2017-11-09 11:35:15 +01:00
|
|
|
ObjectUtils.SerializeObject(RetryContacts, bw);
|
|
|
|
|
ObjectUtils.SerializeObject(Users, bw);
|
2016-09-24 15:38:26 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|