All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.khasanof.executors.matcher.SimpleUnknownMatcher Maven / Gradle / Ivy

The newest version!
package org.khasanof.executors.matcher;

import org.khasanof.annotation.methods.HandleUnknown;
import org.khasanof.service.expression.ExpressionMatcherService;
import org.springframework.stereotype.Component;
import org.telegram.telegrambots.meta.api.objects.Update;

/**
 * @author Nurislom
 * @see org.khasanof.executors.matcher
 * @since 3/1/2024 10:03 PM
 */
@Component
public class SimpleUnknownMatcher extends GenericMatcher {

    public SimpleUnknownMatcher(ExpressionMatcherService expressionMatcherService) {
        super(expressionMatcherService);
    }

    @Override
    public boolean matcher(HandleUnknown annotation, Update value) {
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy