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

namespace MyTelegram.Schema.Auth;

///<summary>
/// Terminates all user's authorized sessions except for the current one.After calling this method it is necessary to reregister the current device using the method <a href="https://corefork.telegram.org/method/account.registerDevice">account.registerDevice</a>
/// See <a href="https://corefork.telegram.org/method/auth.resetAuthorizations" />
///</summary>
[TlObject(0x9fab0d1a)]
public sealed class RequestResetAuthorizations : IRequest<IBool>
{
    public uint ConstructorId => 0x9fab0d1a;

    public void ComputeFlag()
    {

    }

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

    }

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {

    }
}
