mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
46 lines
918 B
C#
46 lines
918 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.Help
|
|
{
|
|
[TLObject(398898678)]
|
|
public class TLSupport : TLObject
|
|
{
|
|
public override int Constructor
|
|
{
|
|
get
|
|
{
|
|
return 398898678;
|
|
}
|
|
}
|
|
|
|
public string phone_number {get;set;}
|
|
public TLAbsUser user {get;set;}
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
phone_number = StringUtil.Deserialize(br);
|
|
user = (TLAbsUser)ObjectUtils.DeserializeObject(br);
|
|
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
StringUtil.Serialize(phone_number,bw);
|
|
ObjectUtils.SerializeObject(user,bw);
|
|
|
|
}
|
|
}
|
|
}
|