pro.zackpollard.telegrambot.api.chat.message.content.NewChatPhotoContent Maven / Gradle / Ivy
package pro.zackpollard.telegrambot.api.chat.message.content;
import pro.zackpollard.telegrambot.api.chat.message.content.type.PhotoSize;
/**
* @author Zack Pollard
*/
public interface NewChatPhotoContent extends Content {
/**
* Gets the new photo for the chat
*
* @return The new photo.
*/
PhotoSize[] getContent();
/**
* Gets the ContentType relating to this Content object
*
* @return The ContentType of this Content object
*/
@Override
default ContentType getType() {
return ContentType.NEW_CHAT_PHOTO;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy