All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pro.zackpollard.telegrambot.api.chat.message.content.PhotoContent Maven / Gradle / Ivy

There is a newer version: 1.6.5
Show newest version
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