namespace MyTelegram.Messenger.Handlers.LatestLayer.Impl.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>
internal sealed class InvalidateSignInCodesHandler : RpcResultObjectHandler<MyTelegram.Schema.Account.RequestInvalidateSignInCodes, IBool>,
    Account.IInvalidateSignInCodesHandler
{
    protected override Task<IBool> HandleCoreAsync(IRequestInput input,
        MyTelegram.Schema.Account.RequestInvalidateSignInCodes obj)
    {
        return Task.FromResult<IBool>(new TBoolTrue());
    }
}
