com.w4p.telegram.model.TelegramHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-telegram Show documentation
Show all versions of spring-telegram Show documentation
Java TelegramBot for Spring Framework with async multithreading support
package com.w4p.telegram.model;
import com.w4p.telegram.annotation.W4TelegramCommand;
import lombok.Getter;
import java.lang.reflect.Method;
@Getter
public class TelegramHandler {
private Object bean;
private Method method;
private W4TelegramCommand w4TelegramCommand;
public TelegramHandler(Object bean, Method method, W4TelegramCommand w4TelegramCommand) {
this.bean = bean;
this.method = method;
this.w4TelegramCommand = w4TelegramCommand;
}
}