TLSharp/TeleSharp.TL/TL/TLInputEncryptedChat.cs
2017-04-13 13:38:01 +07:00

31 lines
677 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(-247351839)]
public class TLInputEncryptedChat : TLObject
{
public override int Constructor => -247351839;
public int chat_id { get; set; }
public long access_hash { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
chat_id = br.ReadInt32();
access_hash = br.ReadInt64();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(chat_id);
bw.Write(access_hash);
}
}
}