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

namespace MyTelegram.Schema.Account;

///<summary>
/// Invalidate the specified login codes, see <a href="https://corefork.telegram.org/api/auth#invalidating-login-codes">here »</a> for more info.
/// See <a href="https://corefork.telegram.org/method/account.invalidateSignInCodes" />
///</summary>
[TlObject(0xca8ae8ba)]
public sealed class RequestInvalidateSignInCodes : IRequest<IBool>
{
    public uint ConstructorId => 0xca8ae8ba;
    ///<summary>
    /// The login codes to invalidate.
    ///</summary>
    public TVector<string> Codes { get; set; }

    public void ComputeFlag()
    {

    }

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

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {
        Codes = buffer.Read<TVector<string>>();
    }
}
