pro.zackpollard.telegrambot.api.event.chat.inline.InlineResultChosenEvent 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.inline;
import lombok.RequiredArgsConstructor;
import lombok.ToString;
import pro.zackpollard.telegrambot.api.chat.inline.ChosenInlineResult;
import pro.zackpollard.telegrambot.api.event.Event;
/**
* @author Zack Pollard
*/
@ToString
@RequiredArgsConstructor
public class InlineResultChosenEvent implements Event {
private final ChosenInlineResult chosenInlineResult;
/**
* Gets the ChosenInlineResult that fired this Event
*
* @return The ChosenInlineResult that fired this Event
*/
public ChosenInlineResult getChosenResult() {
return chosenInlineResult;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy