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
|
|
|
|
|
{
|
|
|
|
|
[TLObject(-1239335713)]
|
|
|
|
|
public class TLShippingOption : TLObject
|
|
|
|
|
{
|
|
|
|
|
public override int Constructor
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return -1239335713;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string id { get; set; }
|
|
|
|
|
public string title { get; set; }
|
|
|
|
|
public TLVector<TLLabeledPrice> prices { get; set; }
|
|
|
|
|
|
|
|
|
|
public void ComputeFlags()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
|
|
|
{
|
|
|
|
|
id = StringUtil.Deserialize(br);
|
|
|
|
|
title = StringUtil.Deserialize(br);
|
|
|
|
|
prices = (TLVector<TLLabeledPrice>)ObjectUtils.DeserializeVector<TLLabeledPrice>(br);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
|
|
|
{
|
|
|
|
|
bw.Write(Constructor);
|
|
|
|
|
StringUtil.Serialize(id, bw);
|
|
|
|
|
StringUtil.Serialize(title, bw);
|
|
|
|
|
ObjectUtils.SerializeObject(prices, bw);
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-09-24 10:19:06 +02:00
|
|
|
}
|