TLSharp/TeleSharp.TL/TL/TLInputGameShortName.cs
Afshin Arani 23e647e81c Layer-57
2016-10-13 21:03:16 +03:30

46 lines
944 B
C#

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(-1020139510)]
public class TLInputGameShortName : TLAbsInputGame
{
public override int Constructor
{
get
{
return -1020139510;
}
}
public TLAbsInputUser bot_id {get;set;}
public string short_name {get;set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
bot_id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
short_name = StringUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(bot_id,bw);
StringUtil.Serialize(short_name,bw);
}
}
}