mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
45 lines
1.1 KiB
C#
45 lines
1.1 KiB
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL.Channels
|
|
{
|
|
[TLObject(-359881479)]
|
|
public class TLRequestSetStickers : TLMethod
|
|
{
|
|
public TLAbsInputChannel Channel { get; set; }
|
|
|
|
public override int Constructor
|
|
{
|
|
get
|
|
{
|
|
return -359881479;
|
|
}
|
|
}
|
|
|
|
public bool Response { get; set; }
|
|
|
|
public TLAbsInputStickerSet Stickerset { get; set; }
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
Channel = (TLAbsInputChannel)ObjectUtils.DeserializeObject(br);
|
|
Stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br);
|
|
}
|
|
|
|
public override void DeserializeResponse(BinaryReader br)
|
|
{
|
|
Response = BoolUtil.Deserialize(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
ObjectUtils.SerializeObject(Channel, bw);
|
|
ObjectUtils.SerializeObject(Stickerset, bw);
|
|
}
|
|
}
|
|
}
|