send image to telegram as InputStream instead of File
I have a Java code that works fine, it sends a local image from a local directory to a Telegram user:
I have a Java code that works fine, it sends a local image from a local directory to a Telegram user: