mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
31 lines
836 B
C#
31 lines
836 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL.Channels
|
|
{
|
|
[TLObject(-791039645)]
|
|
public class TLChannelParticipant : TLObject
|
|
{
|
|
public override int Constructor => -791039645;
|
|
|
|
public TLAbsChannelParticipant participant { get; set; }
|
|
public TLVector<TLAbsUser> users { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
participant = (TLAbsChannelParticipant) ObjectUtils.DeserializeObject(br);
|
|
users = ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
ObjectUtils.SerializeObject(participant, bw);
|
|
ObjectUtils.SerializeObject(users, bw);
|
|
}
|
|
}
|
|
} |