// <auto-generated/>
// ReSharper disable All

namespace MyTelegram.Schema.Users;

///<summary>
/// See <a href="https://corefork.telegram.org/constructor/users.users" />
///</summary>
[TlObject(0x62d706b8)]
public sealed class TUsers : IUsers
{
    public uint ConstructorId => 0x62d706b8;
    public TVector<MyTelegram.Schema.IUser> Users { get; set; }

    public void ComputeFlag()
    {

    }

    public void Serialize(IBufferWriter<byte> writer)
    {
        ComputeFlag();
        writer.Write(ConstructorId);
        writer.Write(Users);
    }

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {
        Users = buffer.Read<TVector<MyTelegram.Schema.IUser>>();
    }
}