mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-09 00:14:54 +00:00
update to layer 71
code formatting
This commit is contained in:
parent
687eca968a
commit
ca3a71e39a
930 changed files with 6690 additions and 11417 deletions
|
|
@ -1,15 +1,12 @@
|
|||
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
|
||||
{
|
||||
[TLObject(-886477832)]
|
||||
public class TLLabeledPrice : TLObject
|
||||
{
|
||||
public long Amount { get; set; }
|
||||
|
||||
public override int Constructor
|
||||
{
|
||||
get
|
||||
|
|
@ -19,19 +16,15 @@ namespace TeleSharp.TL
|
|||
}
|
||||
|
||||
public string Label { get; set; }
|
||||
public long Amount { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
Label = StringUtil.Deserialize(br);
|
||||
Amount = br.ReadInt64();
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
|
|
@ -39,7 +32,6 @@ namespace TeleSharp.TL
|
|||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(Label, bw);
|
||||
bw.Write(Amount);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue