TLSharp/TeleSharp.TL/TL/TLInputChannel.cs
Andrzej Gołaszewski ca3a71e39a update to layer 71
code formatting
2017-12-20 12:06:31 +01:00

38 lines
770 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(-1343524562)]
public class TLInputChannel : TLAbsInputChannel
{
public long AccessHash { get; set; }
public int ChannelId { get; set; }
public override int Constructor
{
get
{
return -1343524562;
}
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
ChannelId = br.ReadInt32();
AccessHash = br.ReadInt64();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(ChannelId);
bw.Write(AccessHash);
}
}
}