Class InputStreamInputFile

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

public class InputStreamInputFile extends org.telegram.telegrambots.meta.api.objects.InputFile
An InputFile implementation that uses an InputStream as the source of the file data.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    InputStreamInputFile(InputStream mediaStream, String fileName)
     
  • Method Summary

    Methods inherited from class org.telegram.telegrambots.meta.api.objects.InputFile

    canEqual, equals, getAttachName, getMediaName, getNewMediaFile, getNewMediaStream, hashCode, isNew, setMedia, setMedia, setMedia, setMedia, toString, validate

    Methods inherited from class Object

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

    • InputStreamInputFile

      public InputStreamInputFile(InputStream mediaStream, String fileName)