2016-09-24 15:38:26 +02:00
|
|
|
using System.IO;
|
|
|
|
|
namespace TeleSharp.TL.Contacts
|
|
|
|
|
{
|
2017-11-09 10:21:33 +01:00
|
|
|
[TLObject(2010127419)]
|
2016-09-24 15:38:26 +02:00
|
|
|
public class TLImportedContacts : TLObject
|
|
|
|
|
{
|
|
|
|
|
public override int Constructor
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2017-11-09 10:21:33 +01:00
|
|
|
return 2010127419;
|
2016-09-24 15:38:26 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-07-20 04:07:24 +02:00
|
|
|
public TLVector<TLImportedContact> imported { get; set; }
|
2017-11-09 10:21:33 +01:00
|
|
|
public TLVector<TLPopularContact> popular_invites { get; set; }
|
2017-07-20 04:07:24 +02:00
|
|
|
public TLVector<long> retry_contacts { get; set; }
|
|
|
|
|
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)
|
|
|
|
|
{
|
|
|
|
|
imported = (TLVector<TLImportedContact>)ObjectUtils.DeserializeVector<TLImportedContact>(br);
|
2017-11-09 10:21:33 +01:00
|
|
|
popular_invites = (TLVector<TLPopularContact>)ObjectUtils.DeserializeVector<TLPopularContact>(br);
|
2017-07-20 04:07:24 +02:00
|
|
|
retry_contacts = (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);
|
|
|
|
|
ObjectUtils.SerializeObject(imported, bw);
|
2017-11-09 10:21:33 +01:00
|
|
|
ObjectUtils.SerializeObject(popular_invites, bw);
|
2017-07-20 04:07:24 +02:00
|
|
|
ObjectUtils.SerializeObject(retry_contacts, bw);
|
|
|
|
|
ObjectUtils.SerializeObject(users, bw);
|
2016-09-24 15:38:26 +02:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|