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,36 +7,45 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Messages
{
[TLObject(-1613775824)]
[TLObject(2016638777)]
public class TLRequestReorderStickerSets : TLMethod
{
public override int Constructor
{
get
{
return -1613775824;
return 2016638777;
}
}
public TLVector<long> order {get;set;}
public int flags {get;set;}
public bool masks {get;set;}
public TLVector<long> order {get;set;}
public bool Response{ 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);
}
public override void deserializeResponse(BinaryReader br)