TLSharp/TeleSharp.TL/TL/Channels/TLChannelParticipant.cs

40 lines
943 B
C#
Raw Normal View History

2016-09-24 15:38:26 +02:00
using System.IO;
namespace TeleSharp.TL.Channels
{
[TLObject(-791039645)]
2016-09-24 15:38:26 +02:00
public class TLChannelParticipant : TLObject
{
public override int Constructor
{
get
{
return -791039645;
}
}
public TLAbsChannelParticipant participant { get; set; }
public TLVector<TLAbsUser> users { get; set; }
2016-09-24 15:38:26 +02:00
public void ComputeFlags()
{
}
2016-09-24 15:38:26 +02:00
public override void DeserializeBody(BinaryReader br)
{
participant = (TLAbsChannelParticipant)ObjectUtils.DeserializeObject(br);
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
2016-09-24 15:38:26 +02:00
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(participant, bw);
ObjectUtils.SerializeObject(users, bw);
2016-09-24 15:38:26 +02:00
}
}
}