TLSharp/TeleSharp.TL/TL/TLChannelParticipantCreator.cs

34 lines
657 B
C#
Raw Normal View History

2016-09-24 17:08:26 +03:30
using System.IO;
2017-12-20 12:06:31 +01:00
2016-09-24 17:08:26 +03:30
namespace TeleSharp.TL
{
[TLObject(-471670279)]
2016-09-24 17:08:26 +03:30
public class TLChannelParticipantCreator : TLAbsChannelParticipant
{
public override int Constructor
{
get
{
return -471670279;
}
}
public int UserId { get; set; }
2016-09-24 17:08:26 +03:30
public void ComputeFlags()
{
}
2016-09-24 17:08:26 +03:30
public override void DeserializeBody(BinaryReader br)
{
UserId = br.ReadInt32();
2016-09-24 17:08:26 +03:30
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(UserId);
2016-09-24 17:08:26 +03:30
}
}
}