pro.zackpollard.telegrambot.api.conversations.prompt.DocumentPrompt 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.DocumentContent;
import pro.zackpollard.telegrambot.api.conversations.ConversationPrompt;
/**
* A prompt which accepts a document
* @author Mazen Kotb
* @see DocumentContent
*/
public abstract class DocumentPrompt implements ConversationPrompt {
@Override
public ContentType type() {
return ContentType.DOCUMENT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy