mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
34 lines
836 B
C#
34 lines
836 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL.Contacts
|
|
{
|
|
[TLObject(1340184318)]
|
|
public class TLRequestImportCard : TLMethod
|
|
{
|
|
public override int Constructor => 1340184318;
|
|
|
|
public TLVector<int> export_card { get; set; }
|
|
public TLAbsUser Response { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
export_card = ObjectUtils.DeserializeVector<int>(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
ObjectUtils.SerializeObject(export_card, bw);
|
|
}
|
|
|
|
public override void deserializeResponse(BinaryReader br)
|
|
{
|
|
Response = (TLAbsUser) ObjectUtils.DeserializeObject(br);
|
|
}
|
|
}
|
|
} |