TLSharp/TeleSharp.TL/TL/TLInputBotInlineResultGame.cs

34 lines
962 B
C#
Raw Normal View History

2016-10-13 19:33:16 +02:00
using System.IO;
2017-04-13 08:38:01 +02:00
2016-10-13 19:33:16 +02:00
namespace TeleSharp.TL
{
2017-04-13 08:38:01 +02:00
[TLObject(1336154098)]
2016-10-13 19:33:16 +02:00
public class TLInputBotInlineResultGame : TLAbsInputBotInlineResult
{
2017-04-13 08:38:01 +02:00
public override int Constructor => 1336154098;
2016-10-13 19:33:16 +02:00
2017-04-13 08:38:01 +02:00
public string id { get; set; }
public string short_name { get; set; }
public TLAbsInputBotInlineMessage send_message { get; set; }
2016-10-13 19:33:16 +02:00
2017-04-13 08:38:01 +02:00
public void ComputeFlags()
{
}
2016-10-13 19:33:16 +02:00
public override void DeserializeBody(BinaryReader br)
{
id = StringUtil.Deserialize(br);
2017-04-13 08:38:01 +02:00
short_name = StringUtil.Deserialize(br);
send_message = (TLAbsInputBotInlineMessage) ObjectUtils.DeserializeObject(br);
2016-10-13 19:33:16 +02:00
}
public override void SerializeBody(BinaryWriter bw)
{
2017-04-13 08:38:01 +02:00
bw.Write(Constructor);
StringUtil.Serialize(id, bw);
StringUtil.Serialize(short_name, bw);
ObjectUtils.SerializeObject(send_message, bw);
2016-10-13 19:33:16 +02:00
}
}
2017-04-13 08:38:01 +02:00
}