Send picture of raspi by Telegram

From externally one can send so the picture by Telegram

sendTelegramPhoto("Openhabbot","http://www.selfhost.eu/msubmenu=jpg",null, "admin", "pass")

How is the code when I have the image in the tmp directory of Raspi /tmp/1.jpg?

Does not anyone have an idea?

Same issue here… I wanted to show up a QR-COde image for guest-wifi configuration. Actually it does not work, no way found other to put it in a local webserver hostet on the same machine… that is garbage but works.