mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
36 lines
942 B
C#
36 lines
942 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL.Contacts
|
|
{
|
|
[TLObject(471043349)]
|
|
public class TLBlocked : TLAbsBlocked
|
|
{
|
|
public override int Constructor
|
|
{
|
|
get
|
|
{
|
|
return 471043349;
|
|
}
|
|
}
|
|
|
|
public TLVector<TLContactBlocked> blocked { get; set; }
|
|
public TLVector<TLAbsUser> users { get; set; }
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
blocked = (TLVector<TLContactBlocked>)ObjectUtils.DeserializeVector<TLContactBlocked>(br);
|
|
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
ObjectUtils.SerializeObject(blocked, bw);
|
|
ObjectUtils.SerializeObject(users, bw);
|
|
}
|
|
}
|
|
} |