Class InputStreamInputMediaPhoto

java.lang.Object
org.telegram.telegrambots.meta.api.objects.media.InputMedia
org.telegram.telegrambots.meta.api.objects.media.InputMediaPhoto
io.github.yvasyliev.forwarder.telegram.bot.dto.InputStreamInputMediaPhoto
All Implemented Interfaces:
Serializable, org.telegram.telegrambots.meta.api.interfaces.BotApiObject, org.telegram.telegrambots.meta.api.interfaces.Validable

public class InputStreamInputMediaPhoto extends org.telegram.telegrambots.meta.api.objects.media.InputMediaPhoto
An InputMediaPhoto implementation that uses an InputStream as the source of the photo data.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.telegram.telegrambots.meta.api.objects.media.InputMediaPhoto

    org.telegram.telegrambots.meta.api.objects.media.InputMediaPhoto.InputMediaPhotoBuilder<C,B>

    Nested classes/interfaces inherited from class org.telegram.telegrambots.meta.api.objects.media.InputMedia

    org.telegram.telegrambots.meta.api.objects.media.InputMedia.InputMediaBuilder<C,B>
  • Field Summary

    Fields inherited from class org.telegram.telegrambots.meta.api.objects.media.InputMedia

    CAPTION_ENTITIES_FIELD, CAPTION_FIELD, MEDIA_FIELD, PARSE_MODE_FIELD, TYPE_FIELD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class org.telegram.telegrambots.meta.api.objects.media.InputMediaPhoto

    builder, canEqual, equals, getHasSpoiler, getShowCaptionAboveMedia, getType, hashCode, setHasSpoiler, setShowCaptionAboveMedia, toString, validate

    Methods inherited from class org.telegram.telegrambots.meta.api.objects.media.InputMedia

    getCaption, getCaptionEntities, getMedia, getMediaName, getNewMediaFile, getNewMediaStream, getParseMode, isNewMedia, setCaption, setCaptionEntities, setMedia, setMedia, setMedia, setMediaName, setNewMedia, setNewMediaFile, setNewMediaStream, setParseMode

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • InputStreamInputMediaPhoto

      public InputStreamInputMediaPhoto(InputStream mediaStream, String fileName)