2016-09-24 15:38:26 +02:00
|
|
|
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.Messages
|
|
|
|
|
{
|
2016-10-13 19:33:16 +02:00
|
|
|
[TLObject(-946871200)]
|
2016-09-24 15:38:26 +02:00
|
|
|
public class TLRequestInstallStickerSet : TLMethod
|
|
|
|
|
{
|
|
|
|
|
public override int Constructor
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2016-10-13 19:33:16 +02:00
|
|
|
return -946871200;
|
2016-09-24 15:38:26 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public TLAbsInputStickerSet stickerset {get;set;}
|
2016-10-13 19:33:16 +02:00
|
|
|
public bool archived {get;set;}
|
|
|
|
|
public Messages.TLAbsStickerSetInstallResult Response{ get; set;}
|
2016-09-24 15:38:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
public void ComputeFlags()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
|
|
|
{
|
|
|
|
|
stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br);
|
2016-10-13 19:33:16 +02:00
|
|
|
archived = BoolUtil.Deserialize(br);
|
2016-09-24 15:38:26 +02:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
|
|
|
{
|
|
|
|
|
bw.Write(Constructor);
|
|
|
|
|
ObjectUtils.SerializeObject(stickerset,bw);
|
2016-10-13 19:33:16 +02:00
|
|
|
BoolUtil.Serialize(archived,bw);
|
2016-09-24 15:38:26 +02:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public override void deserializeResponse(BinaryReader br)
|
|
|
|
|
{
|
2016-10-13 19:33:16 +02:00
|
|
|
Response = (Messages.TLAbsStickerSetInstallResult)ObjectUtils.DeserializeObject(br);
|
2016-09-24 15:38:26 +02:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|