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

org.khasanof.FluentBot Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
package org.khasanof;

import org.khasanof.config.ApplicationProperties;
import org.telegram.telegrambots.meta.api.objects.Update;

/**
 * Author: Nurislom
 * 
* Date: 18.06.2023 *
* Time: 10:30 *
* Package: org.khasanof.main */ public class FluentBot extends AbstractFluentBot { public FluentBot(MainHandler handler, ApplicationProperties properties) { super(handler, properties.getBot()); } @Override public String getBotUsername() { return bot.getUsername(); } @Override public String getBotToken() { return bot.getToken(); } @Override public void onUpdateReceived(Update update) { handler.process(update); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy