mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
28 lines
606 B
C#
28 lines
606 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL
|
|
{
|
|
[TLObject(-1613493288)]
|
|
public class TLNotifyPeer : TLAbsNotifyPeer
|
|
{
|
|
public override int Constructor => -1613493288;
|
|
|
|
public TLAbsPeer peer { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
peer = (TLAbsPeer) ObjectUtils.DeserializeObject(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
ObjectUtils.SerializeObject(peer, bw);
|
|
}
|
|
}
|
|
} |