mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
31 lines
728 B
C#
31 lines
728 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL
|
|
{
|
|
[TLObject(1008755359)]
|
|
public class TLInlineBotSwitchPM : TLObject
|
|
{
|
|
public override int Constructor => 1008755359;
|
|
|
|
public string text { get; set; }
|
|
public string start_param { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
text = StringUtil.Deserialize(br);
|
|
start_param = StringUtil.Deserialize(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
StringUtil.Serialize(text, bw);
|
|
StringUtil.Serialize(start_param, bw);
|
|
}
|
|
}
|
|
} |