TLSharp/TeleSharp.TL/TL/TLBotInfo.cs
Andrzej Gołaszewski ca3a71e39a update to layer 71
code formatting
2017-12-20 12:06:31 +01:00

42 lines
993 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(-1729618630)]
public class TLBotInfo : TLObject
{
public TLVector<TLBotCommand> Commands { get; set; }
public override int Constructor
{
get
{
return -1729618630;
}
}
public string Description { get; set; }
public int UserId { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
UserId = br.ReadInt32();
Description = StringUtil.Deserialize(br);
Commands = (TLVector<TLBotCommand>)ObjectUtils.DeserializeVector<TLBotCommand>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(UserId);
StringUtil.Serialize(Description, bw);
ObjectUtils.SerializeObject(Commands, bw);
}
}
}