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

namespace MyTelegram.Schema.Contacts;

///<summary>
/// Deletes several contacts from the list.
/// See <a href="https://corefork.telegram.org/method/contacts.deleteContacts" />
///</summary>
[TlObject(0x96a0e00)]
public sealed class RequestDeleteContacts : IRequest<MyTelegram.Schema.IUpdates>
{
    public uint ConstructorId => 0x96a0e00;
    ///<summary>
    /// User ID list
    ///</summary>
    public TVector<MyTelegram.Schema.IInputUser> Id { get; set; }

    public void ComputeFlag()
    {

    }

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

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