This commit is contained in:
Afshin Arani 2016-10-13 21:03:16 +03:30
parent 0752c60082
commit 23e647e81c
81 changed files with 2631 additions and 213 deletions

View file

@ -7,35 +7,44 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-253774767)]
[TLObject(196268545)]
public class TLUpdateStickerSetsOrder : TLAbsUpdate
{
public override int Constructor
{
get
{
return -253774767;
return 196268545;
}
}
public TLVector<long> order {get;set;}
public int flags {get;set;}
public bool masks {get;set;}
public TLVector<long> order {get;set;}
public void ComputeFlags()
{
flags = 0;
flags = masks ? (flags | 1) : (flags & ~1);
}
public override void DeserializeBody(BinaryReader br)
{
order = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
flags = br.ReadInt32();
masks = (flags & 1) != 0;
order = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(order,bw);
ComputeFlags();
bw.Write(flags);
ObjectUtils.SerializeObject(order,bw);
}
}