pro.zackpollard.telegrambot.api.event.chat.CallbackQueryReceivedEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtelegram-botapi Show documentation
Show all versions of jtelegram-botapi Show documentation
The Java Telegram Bot API is a wrapper for the Telegram HTTP Bot API
package pro.zackpollard.telegrambot.api.event.chat;
import lombok.ToString;
import pro.zackpollard.telegrambot.api.chat.CallbackQuery;
import pro.zackpollard.telegrambot.api.event.Event;
/**
* @author zackp
*/
@ToString
public class CallbackQueryReceivedEvent implements Event {
protected final CallbackQuery callbackQuery;
public CallbackQueryReceivedEvent(CallbackQuery callbackQuery) {
this.callbackQuery = callbackQuery;
}
/**
* Gets the CallbackQuery that was received that triggered this Event
*
* @return The CallbackQuery that was received that triggered this Event
*/
public CallbackQuery getCallbackQuery() {
return callbackQuery;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy