mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-04 22:18:59 +00:00
Redesign Everything
This commit is contained in:
parent
b5472c6cd7
commit
6af7c66a81
710 changed files with 32932 additions and 302 deletions
57
TeleSharp.TL/TL/TLUpdatesCombined.cs
Normal file
57
TeleSharp.TL/TL/TLUpdatesCombined.cs
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
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
|
||||
{
|
||||
[TLObject(1918567619)]
|
||||
public class TLUpdatesCombined : TLAbsUpdates
|
||||
{
|
||||
public override int Constructor
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1918567619;
|
||||
}
|
||||
}
|
||||
|
||||
public TLVector<TLAbsUpdate> updates {get;set;}
|
||||
public TLVector<TLAbsUser> users {get;set;}
|
||||
public TLVector<TLAbsChat> chats {get;set;}
|
||||
public int date {get;set;}
|
||||
public int seq_start {get;set;}
|
||||
public int seq {get;set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
updates = (TLVector<TLAbsUpdate>)ObjectUtils.DeserializeVector<TLAbsUpdate>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
chats = (TLVector<TLAbsChat>)ObjectUtils.DeserializeVector<TLAbsChat>(br);
|
||||
date = br.ReadInt32();
|
||||
seq_start = br.ReadInt32();
|
||||
seq = br.ReadInt32();
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(updates,bw);
|
||||
ObjectUtils.SerializeObject(users,bw);
|
||||
ObjectUtils.SerializeObject(chats,bw);
|
||||
bw.Write(date);
|
||||
bw.Write(seq_start);
|
||||
bw.Write(seq);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue