2017-07-20 04:07:24 +02:00
|
|
|
using System.IO;
|
2017-09-24 10:19:06 +02:00
|
|
|
|
2017-07-20 04:07:24 +02:00
|
|
|
namespace TeleSharp.TL.Stickers
|
|
|
|
|
{
|
|
|
|
|
[TLObject(1322714570)]
|
|
|
|
|
public class TLRequestChangeStickerPosition : TLMethod
|
|
|
|
|
{
|
|
|
|
|
public override int Constructor
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return 1322714570;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public TLAbsInputDocument sticker { get; set; }
|
|
|
|
|
public int position { get; set; }
|
|
|
|
|
public bool Response { get; set; }
|
|
|
|
|
|
|
|
|
|
public void ComputeFlags()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
|
|
|
{
|
|
|
|
|
sticker = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br);
|
|
|
|
|
position = br.ReadInt32();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
|
|
|
{
|
|
|
|
|
bw.Write(Constructor);
|
|
|
|
|
ObjectUtils.SerializeObject(sticker, bw);
|
|
|
|
|
bw.Write(position);
|
|
|
|
|
}
|
2017-09-24 10:19:06 +02:00
|
|
|
|
2017-07-20 04:07:24 +02:00
|
|
|
public override void deserializeResponse(BinaryReader br)
|
|
|
|
|
{
|
|
|
|
|
Response = BoolUtil.Deserialize(br);
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-09-24 10:19:06 +02:00
|
|
|
}
|