mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
34 lines
804 B
C#
34 lines
804 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL.Account
|
|
{
|
|
[TLObject(1040964988)]
|
|
public class TLRequestUpdateUsername : TLMethod
|
|
{
|
|
public override int Constructor => 1040964988;
|
|
|
|
public string username { get; set; }
|
|
public TLAbsUser Response { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
username = StringUtil.Deserialize(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
StringUtil.Serialize(username, bw);
|
|
}
|
|
|
|
public override void deserializeResponse(BinaryReader br)
|
|
{
|
|
Response = (TLAbsUser) ObjectUtils.DeserializeObject(br);
|
|
}
|
|
}
|
|
} |