
bot.model.query.Query Maven / Gradle / Ivy
package bot.model.query;
import java.util.Map;
/**
* Created by Luca Mosetti on 2017
*
* Standard CallbackQuery
* All the bot CallbackQuery have to have the viaggia.command specified
*/
public class Query implements Regex {
private Map map;
public Query(Map map) {
this.map = map;
}
protected String get(String key) {
return map.get(key);
}
public Map getMap() {
return map;
}
public String getCommandIdentifier() {
return get(COMMAND);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy