Class PhotoMessage

    • Constructor Detail

      • PhotoMessage

        public PhotoMessage()
    • Method Detail

      • getHighestResolutionPhoto

        public PhotoSize getHighestResolutionPhoto()
      • getPhoto

        public java.util.List<PhotoSize> getPhoto()
      • getMediaGroupId

        public long getMediaGroupId()
        This field does not exist in the Telegram Docs, however is non-zero whenever a photo is a fragment of an album. Albums are collection of images and videos that have a max size of 10. The Telegram Bot has no evident way of checking when it has received the whole album, so do with this as you will