2016-09-24 15:38:26 +02:00
|
|
|
using System.IO;
|
2017-12-20 12:06:31 +01:00
|
|
|
|
2016-09-24 15:38:26 +02:00
|
|
|
namespace TeleSharp.TL.Channels
|
|
|
|
|
{
|
2017-12-20 12:06:31 +01:00
|
|
|
[TLObject(-359881479)]
|
|
|
|
|
public class TLRequestSetStickers : TLMethod
|
2016-09-24 15:38:26 +02:00
|
|
|
{
|
2017-12-20 12:06:31 +01:00
|
|
|
public TLAbsInputChannel Channel { get; set; }
|
|
|
|
|
|
2016-09-24 15:38:26 +02:00
|
|
|
public override int Constructor
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2017-12-20 12:06:31 +01:00
|
|
|
return -359881479;
|
2016-09-24 15:38:26 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-12-20 12:06:31 +01:00
|
|
|
public bool Response { get; set; }
|
2016-09-24 15:38:26 +02:00
|
|
|
|
2017-12-20 12:06:31 +01:00
|
|
|
public TLAbsInputStickerSet Stickerset { get; set; }
|
2016-09-24 15:38:26 +02:00
|
|
|
|
2017-07-20 04:07:24 +02:00
|
|
|
public void ComputeFlags()
|
|
|
|
|
{
|
|
|
|
|
}
|
2016-09-24 15:38:26 +02:00
|
|
|
|
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
|
|
|
{
|
2017-11-09 11:35:15 +01:00
|
|
|
Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
2017-12-20 12:06:31 +01:00
|
|
|
Stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br);
|
|
|
|
|
}
|
2016-09-24 15:38:26 +02:00
|
|
|
|
2017-12-20 12:06:31 +01:00
|
|
|
public override void DeserializeResponse(BinaryReader br)
|
|
|
|
|
{
|
|
|
|
|
Response = BoolUtil.Deserialize(br);
|
2016-09-24 15:38:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
|
|
|
{
|
2017-07-20 04:07:24 +02:00
|
|
|
bw.Write(Constructor);
|
2017-11-09 11:35:15 +01:00
|
|
|
ObjectUtils.SerializeObject(Channel, bw);
|
2017-12-20 12:06:31 +01:00
|
|
|
ObjectUtils.SerializeObject(Stickerset, bw);
|
2017-07-20 04:07:24 +02:00
|
|
|
}
|
2016-09-24 15:38:26 +02:00
|
|
|
}
|
|
|
|
|
}
|