mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
34 lines
963 B
C#
34 lines
963 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL.Contacts
|
|
{
|
|
[TLObject(446822276)]
|
|
public class TLFound : TLObject
|
|
{
|
|
public override int Constructor => 446822276;
|
|
|
|
public TLVector<TLAbsPeer> results { get; set; }
|
|
public TLVector<TLAbsChat> chats { get; set; }
|
|
public TLVector<TLAbsUser> users { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
results = ObjectUtils.DeserializeVector<TLAbsPeer>(br);
|
|
chats = ObjectUtils.DeserializeVector<TLAbsChat>(br);
|
|
users = 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);
|
|
}
|
|
}
|
|
} |