mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-05 14:37:04 +00:00
parent
0d55940c12
commit
133b9fdf6c
784 changed files with 17201 additions and 10048 deletions
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(471043349)]
|
||||
[TLObject(471043349)]
|
||||
public class TLBlocked : TLAbsBlocked
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,27 +18,27 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLVector<TLContactBlocked> blocked {get;set;}
|
||||
public TLVector<TLAbsUser> users {get;set;}
|
||||
public TLVector<TLContactBlocked> blocked { get; set; }
|
||||
public TLVector<TLAbsUser> users { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
blocked = (TLVector<TLContactBlocked>)ObjectUtils.DeserializeVector<TLContactBlocked>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(blocked,bw);
|
||||
ObjectUtils.SerializeObject(users,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(blocked, bw);
|
||||
ObjectUtils.SerializeObject(users, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(-1878523231)]
|
||||
[TLObject(-1878523231)]
|
||||
public class TLBlockedSlice : TLAbsBlocked
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,30 +18,30 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public int count {get;set;}
|
||||
public TLVector<TLContactBlocked> blocked {get;set;}
|
||||
public TLVector<TLAbsUser> users {get;set;}
|
||||
public int count { get; set; }
|
||||
public TLVector<TLContactBlocked> blocked { get; set; }
|
||||
public TLVector<TLAbsUser> users { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
count = br.ReadInt32();
|
||||
blocked = (TLVector<TLContactBlocked>)ObjectUtils.DeserializeVector<TLContactBlocked>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
blocked = (TLVector<TLContactBlocked>)ObjectUtils.DeserializeVector<TLContactBlocked>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
bw.Write(Constructor);
|
||||
bw.Write(count);
|
||||
ObjectUtils.SerializeObject(blocked,bw);
|
||||
ObjectUtils.SerializeObject(users,bw);
|
||||
ObjectUtils.SerializeObject(blocked, bw);
|
||||
ObjectUtils.SerializeObject(users, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(1871416498)]
|
||||
[TLObject(1871416498)]
|
||||
public class TLContacts : TLAbsContacts
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,27 +18,27 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLVector<TLContact> contacts {get;set;}
|
||||
public TLVector<TLAbsUser> users {get;set;}
|
||||
public TLVector<TLContact> contacts { get; set; }
|
||||
public TLVector<TLAbsUser> users { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
contacts = (TLVector<TLContact>)ObjectUtils.DeserializeVector<TLContact>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(contacts,bw);
|
||||
ObjectUtils.SerializeObject(users,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(contacts, bw);
|
||||
ObjectUtils.SerializeObject(users, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(-1219778094)]
|
||||
[TLObject(-1219778094)]
|
||||
public class TLContactsNotModified : TLAbsContacts
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,22 +18,22 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(446822276)]
|
||||
[TLObject(446822276)]
|
||||
public class TLFound : TLObject
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,30 +18,30 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLVector<TLAbsPeer> results {get;set;}
|
||||
public TLVector<TLAbsChat> chats {get;set;}
|
||||
public TLVector<TLAbsUser> users {get;set;}
|
||||
public TLVector<TLAbsPeer> results { get; set; }
|
||||
public TLVector<TLAbsChat> chats { get; set; }
|
||||
public TLVector<TLAbsUser> users { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
results = (TLVector<TLAbsPeer>)ObjectUtils.DeserializeVector<TLAbsPeer>(br);
|
||||
chats = (TLVector<TLAbsChat>)ObjectUtils.DeserializeVector<TLAbsChat>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
chats = (TLVector<TLAbsChat>)ObjectUtils.DeserializeVector<TLAbsChat>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(results,bw);
|
||||
ObjectUtils.SerializeObject(chats,bw);
|
||||
ObjectUtils.SerializeObject(users,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(results, bw);
|
||||
ObjectUtils.SerializeObject(chats, bw);
|
||||
ObjectUtils.SerializeObject(users, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(-1387117803)]
|
||||
[TLObject(-1387117803)]
|
||||
public class TLImportedContacts : TLObject
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,30 +18,30 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLVector<TLImportedContact> imported {get;set;}
|
||||
public TLVector<long> retry_contacts {get;set;}
|
||||
public TLVector<TLAbsUser> users {get;set;}
|
||||
public TLVector<TLImportedContact> imported { get; set; }
|
||||
public TLVector<long> retry_contacts { get; set; }
|
||||
public TLVector<TLAbsUser> users { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
imported = (TLVector<TLImportedContact>)ObjectUtils.DeserializeVector<TLImportedContact>(br);
|
||||
retry_contacts = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
retry_contacts = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(imported,bw);
|
||||
ObjectUtils.SerializeObject(retry_contacts,bw);
|
||||
ObjectUtils.SerializeObject(users,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(imported, bw);
|
||||
ObjectUtils.SerializeObject(retry_contacts, bw);
|
||||
ObjectUtils.SerializeObject(users, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(986597452)]
|
||||
[TLObject(986597452)]
|
||||
public class TLLink : TLObject
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,30 +18,30 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLAbsContactLink my_link {get;set;}
|
||||
public TLAbsContactLink foreign_link {get;set;}
|
||||
public TLAbsUser user {get;set;}
|
||||
public TLAbsContactLink my_link { get; set; }
|
||||
public TLAbsContactLink foreign_link { get; set; }
|
||||
public TLAbsUser user { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
my_link = (TLAbsContactLink)ObjectUtils.DeserializeObject(br);
|
||||
foreign_link = (TLAbsContactLink)ObjectUtils.DeserializeObject(br);
|
||||
user = (TLAbsUser)ObjectUtils.DeserializeObject(br);
|
||||
foreign_link = (TLAbsContactLink)ObjectUtils.DeserializeObject(br);
|
||||
user = (TLAbsUser)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(my_link,bw);
|
||||
ObjectUtils.SerializeObject(foreign_link,bw);
|
||||
ObjectUtils.SerializeObject(user,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(my_link, bw);
|
||||
ObjectUtils.SerializeObject(foreign_link, bw);
|
||||
ObjectUtils.SerializeObject(user, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(858475004)]
|
||||
[TLObject(858475004)]
|
||||
public class TLRequestBlock : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,14 +18,14 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLAbsInputUser id {get;set;}
|
||||
public bool Response{ get; set;}
|
||||
public TLAbsInputUser id { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
|
@ -35,14 +35,14 @@ namespace TeleSharp.TL.Contacts
|
|||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(id,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(id, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(-1902823612)]
|
||||
[TLObject(-1902823612)]
|
||||
public class TLRequestDeleteContact : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,14 +18,14 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLAbsInputUser id {get;set;}
|
||||
public Contacts.TLLink Response{ get; set;}
|
||||
public TLAbsInputUser id { get; set; }
|
||||
public Contacts.TLLink Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
|
@ -35,14 +35,14 @@ namespace TeleSharp.TL.Contacts
|
|||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(id,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(id, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLLink)ObjectUtils.DeserializeObject(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLLink)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(1504393374)]
|
||||
[TLObject(1504393374)]
|
||||
public class TLRequestDeleteContacts : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,14 +18,14 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLVector<TLAbsInputUser> id {get;set;}
|
||||
public bool Response{ get; set;}
|
||||
public TLVector<TLAbsInputUser> id { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
|
@ -35,14 +35,14 @@ namespace TeleSharp.TL.Contacts
|
|||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(id,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(id, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(-2065352905)]
|
||||
[TLObject(-2065352905)]
|
||||
public class TLRequestExportCard : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,28 +18,28 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLVector<int> Response{ get; set;}
|
||||
public TLVector<int> Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLVector<int>)ObjectUtils.DeserializeVector<int>(br);
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLVector<int>)ObjectUtils.DeserializeVector<int>(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(-176409329)]
|
||||
[TLObject(-176409329)]
|
||||
public class TLRequestGetBlocked : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,34 +18,34 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public int offset {get;set;}
|
||||
public int limit {get;set;}
|
||||
public Contacts.TLAbsBlocked Response{ get; set;}
|
||||
public int offset { get; set; }
|
||||
public int limit { get; set; }
|
||||
public Contacts.TLAbsBlocked Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
offset = br.ReadInt32();
|
||||
limit = br.ReadInt32();
|
||||
limit = br.ReadInt32();
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
bw.Write(Constructor);
|
||||
bw.Write(offset);
|
||||
bw.Write(limit);
|
||||
bw.Write(limit);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLAbsBlocked)ObjectUtils.DeserializeObject(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLAbsBlocked)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(583445000)]
|
||||
[TLObject(583445000)]
|
||||
public class TLRequestGetContacts : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,14 +18,14 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public string hash {get;set;}
|
||||
public Contacts.TLAbsContacts Response{ get; set;}
|
||||
public string hash { get; set; }
|
||||
public Contacts.TLAbsContacts Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
|
@ -35,14 +35,14 @@ namespace TeleSharp.TL.Contacts
|
|||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(hash,bw);
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(hash, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLAbsContacts)ObjectUtils.DeserializeObject(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLAbsContacts)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(-995929106)]
|
||||
[TLObject(-995929106)]
|
||||
public class TLRequestGetStatuses : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,28 +18,28 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLVector<TLContactStatus> Response{ get; set;}
|
||||
public TLVector<TLContactStatus> Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLVector<TLContactStatus>)ObjectUtils.DeserializeVector<TLContactStatus>(br);
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLVector<TLContactStatus>)ObjectUtils.DeserializeVector<TLContactStatus>(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(-728224331)]
|
||||
[TLObject(-728224331)]
|
||||
public class TLRequestGetTopPeers : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,62 +18,66 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public int flags {get;set;}
|
||||
public bool correspondents {get;set;}
|
||||
public bool bots_pm {get;set;}
|
||||
public bool bots_inline {get;set;}
|
||||
public bool groups {get;set;}
|
||||
public bool channels {get;set;}
|
||||
public int offset {get;set;}
|
||||
public int limit {get;set;}
|
||||
public int hash {get;set;}
|
||||
public Contacts.TLAbsTopPeers Response{ get; set;}
|
||||
public int flags { get; set; }
|
||||
public bool correspondents { get; set; }
|
||||
public bool bots_pm { get; set; }
|
||||
public bool bots_inline { get; set; }
|
||||
public bool phone_calls { get; set; }
|
||||
public bool groups { get; set; }
|
||||
public bool channels { get; set; }
|
||||
public int offset { get; set; }
|
||||
public int limit { get; set; }
|
||||
public int hash { get; set; }
|
||||
public Contacts.TLAbsTopPeers Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
flags = 0;
|
||||
flags = correspondents ? (flags | 1) : (flags & ~1);
|
||||
flags = bots_pm ? (flags | 2) : (flags & ~2);
|
||||
flags = bots_inline ? (flags | 4) : (flags & ~4);
|
||||
flags = groups ? (flags | 1024) : (flags & ~1024);
|
||||
flags = channels ? (flags | 32768) : (flags & ~32768);
|
||||
public void ComputeFlags()
|
||||
{
|
||||
flags = 0;
|
||||
flags = correspondents ? (flags | 1) : (flags & ~1);
|
||||
flags = bots_pm ? (flags | 2) : (flags & ~2);
|
||||
flags = bots_inline ? (flags | 4) : (flags & ~4);
|
||||
flags = phone_calls ? (flags | 8) : (flags & ~8);
|
||||
flags = groups ? (flags | 1024) : (flags & ~1024);
|
||||
flags = channels ? (flags | 32768) : (flags & ~32768);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
flags = br.ReadInt32();
|
||||
correspondents = (flags & 1) != 0;
|
||||
bots_pm = (flags & 2) != 0;
|
||||
bots_inline = (flags & 4) != 0;
|
||||
groups = (flags & 1024) != 0;
|
||||
channels = (flags & 32768) != 0;
|
||||
offset = br.ReadInt32();
|
||||
limit = br.ReadInt32();
|
||||
hash = br.ReadInt32();
|
||||
correspondents = (flags & 1) != 0;
|
||||
bots_pm = (flags & 2) != 0;
|
||||
bots_inline = (flags & 4) != 0;
|
||||
phone_calls = (flags & 8) != 0;
|
||||
groups = (flags & 1024) != 0;
|
||||
channels = (flags & 32768) != 0;
|
||||
offset = br.ReadInt32();
|
||||
limit = br.ReadInt32();
|
||||
hash = br.ReadInt32();
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
bw.Write(Constructor);
|
||||
ComputeFlags();
|
||||
bw.Write(flags);
|
||||
bw.Write(flags);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bw.Write(offset);
|
||||
bw.Write(limit);
|
||||
bw.Write(hash);
|
||||
|
||||
bw.Write(offset);
|
||||
bw.Write(limit);
|
||||
bw.Write(hash);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLAbsTopPeers)ObjectUtils.DeserializeObject(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLAbsTopPeers)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(1340184318)]
|
||||
[TLObject(1340184318)]
|
||||
public class TLRequestImportCard : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,14 +18,14 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLVector<int> export_card {get;set;}
|
||||
public TLAbsUser Response{ get; set;}
|
||||
public TLVector<int> export_card { get; set; }
|
||||
public TLAbsUser Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
|
@ -35,14 +35,14 @@ namespace TeleSharp.TL.Contacts
|
|||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(export_card,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(export_card, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUser)ObjectUtils.DeserializeObject(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUser)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(-634342611)]
|
||||
[TLObject(-634342611)]
|
||||
public class TLRequestImportContacts : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,34 +18,34 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLVector<TLInputPhoneContact> contacts {get;set;}
|
||||
public bool replace {get;set;}
|
||||
public Contacts.TLImportedContacts Response{ get; set;}
|
||||
public TLVector<TLInputPhoneContact> contacts { get; set; }
|
||||
public bool replace { get; set; }
|
||||
public Contacts.TLImportedContacts Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
contacts = (TLVector<TLInputPhoneContact>)ObjectUtils.DeserializeVector<TLInputPhoneContact>(br);
|
||||
replace = BoolUtil.Deserialize(br);
|
||||
replace = BoolUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(contacts,bw);
|
||||
BoolUtil.Serialize(replace,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(contacts, bw);
|
||||
BoolUtil.Serialize(replace, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLImportedContacts)ObjectUtils.DeserializeObject(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLImportedContacts)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(451113900)]
|
||||
[TLObject(451113900)]
|
||||
public class TLRequestResetTopPeerRating : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,34 +18,34 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLAbsTopPeerCategory category {get;set;}
|
||||
public TLAbsInputPeer peer {get;set;}
|
||||
public bool Response{ get; set;}
|
||||
public TLAbsTopPeerCategory category { get; set; }
|
||||
public TLAbsInputPeer peer { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
category = (TLAbsTopPeerCategory)ObjectUtils.DeserializeObject(br);
|
||||
peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
|
||||
peer = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(category,bw);
|
||||
ObjectUtils.SerializeObject(peer,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(category, bw);
|
||||
ObjectUtils.SerializeObject(peer, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(-113456221)]
|
||||
[TLObject(-113456221)]
|
||||
public class TLRequestResolveUsername : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,14 +18,14 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public string username {get;set;}
|
||||
public Contacts.TLResolvedPeer Response{ get; set;}
|
||||
public string username { get; set; }
|
||||
public Contacts.TLResolvedPeer Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
|
@ -35,14 +35,14 @@ namespace TeleSharp.TL.Contacts
|
|||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(username,bw);
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(username, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLResolvedPeer)ObjectUtils.DeserializeObject(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLResolvedPeer)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(301470424)]
|
||||
[TLObject(301470424)]
|
||||
public class TLRequestSearch : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,34 +18,34 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public string q {get;set;}
|
||||
public int limit {get;set;}
|
||||
public Contacts.TLFound Response{ get; set;}
|
||||
public string q { get; set; }
|
||||
public int limit { get; set; }
|
||||
public Contacts.TLFound Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
q = StringUtil.Deserialize(br);
|
||||
limit = br.ReadInt32();
|
||||
limit = br.ReadInt32();
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(q,bw);
|
||||
bw.Write(limit);
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(q, bw);
|
||||
bw.Write(limit);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLFound)ObjectUtils.DeserializeObject(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Contacts.TLFound)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(-448724803)]
|
||||
[TLObject(-448724803)]
|
||||
public class TLRequestUnblock : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,14 +18,14 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLAbsInputUser id {get;set;}
|
||||
public bool Response{ get; set;}
|
||||
public TLAbsInputUser id { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
|
@ -35,14 +35,14 @@ namespace TeleSharp.TL.Contacts
|
|||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(id,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(id, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(2131196633)]
|
||||
[TLObject(2131196633)]
|
||||
public class TLResolvedPeer : TLObject
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,30 +18,30 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLAbsPeer peer {get;set;}
|
||||
public TLVector<TLAbsChat> chats {get;set;}
|
||||
public TLVector<TLAbsUser> users {get;set;}
|
||||
public TLAbsPeer peer { get; set; }
|
||||
public TLVector<TLAbsChat> chats { get; set; }
|
||||
public TLVector<TLAbsUser> users { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br);
|
||||
chats = (TLVector<TLAbsChat>)ObjectUtils.DeserializeVector<TLAbsChat>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
chats = (TLVector<TLAbsChat>)ObjectUtils.DeserializeVector<TLAbsChat>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(peer,bw);
|
||||
ObjectUtils.SerializeObject(chats,bw);
|
||||
ObjectUtils.SerializeObject(users,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(peer, bw);
|
||||
ObjectUtils.SerializeObject(chats, bw);
|
||||
ObjectUtils.SerializeObject(users, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(1891070632)]
|
||||
[TLObject(1891070632)]
|
||||
public class TLTopPeers : TLAbsTopPeers
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,30 +18,30 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
public TLVector<TLTopPeerCategoryPeers> categories {get;set;}
|
||||
public TLVector<TLAbsChat> chats {get;set;}
|
||||
public TLVector<TLAbsUser> users {get;set;}
|
||||
public TLVector<TLTopPeerCategoryPeers> categories { get; set; }
|
||||
public TLVector<TLAbsChat> chats { get; set; }
|
||||
public TLVector<TLAbsUser> users { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
categories = (TLVector<TLTopPeerCategoryPeers>)ObjectUtils.DeserializeVector<TLTopPeerCategoryPeers>(br);
|
||||
chats = (TLVector<TLAbsChat>)ObjectUtils.DeserializeVector<TLAbsChat>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
chats = (TLVector<TLAbsChat>)ObjectUtils.DeserializeVector<TLAbsChat>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(categories,bw);
|
||||
ObjectUtils.SerializeObject(chats,bw);
|
||||
ObjectUtils.SerializeObject(users,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(categories, bw);
|
||||
ObjectUtils.SerializeObject(chats, bw);
|
||||
ObjectUtils.SerializeObject(users, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Contacts
|
||||
{
|
||||
[TLObject(-567906571)]
|
||||
[TLObject(-567906571)]
|
||||
public class TLTopPeersNotModified : TLAbsTopPeers
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,22 +18,22 @@ namespace TeleSharp.TL.Contacts
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue