pro.zackpollard.telegrambot.api.chat.message.content.PhotoContent 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.chat.message.content;
import pro.zackpollard.telegrambot.api.chat.message.content.type.PhotoSize;
/**
* @author Zack Pollard
*/
public interface PhotoContent extends Content, Captionable {
/**
* Gets the PhotoSize array relating to this PhotoContent object
*
* @return The PhotoSize array
*/
PhotoSize[] getContent();
/**
* Gets the ContentType relating to this Content object
*
* @return The ContentType of this Content object
*/
@Override
default ContentType getType() {
return ContentType.PHOTO;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy