pro.zackpollard.telegrambot.api.conversations.prompt.TextPrompt 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.conversations.prompt;
import pro.zackpollard.telegrambot.api.chat.message.content.ContentType;
import pro.zackpollard.telegrambot.api.chat.message.content.TextContent;
import pro.zackpollard.telegrambot.api.conversations.ConversationPrompt;
/**
* Prompt which accepts Text as input
* @author Mazen Kotb
* @see TextContent
* @see TextValidatingPrompt
*/
public abstract class TextPrompt implements ConversationPrompt {
@Override
public ContentType type() {
return ContentType.TEXT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy