I am developing an image generation bot for chat (for example, chat.stackexchange.com).

I can generate the image correctly, but when it comes to posting the image, I have no idea how to upload the image into chat via Python. Is there an API or some "hack" to upload the image from filesystem to i.sstatic.net without using any side sites (imgBB, Imgur, etc.)?



You must log in to answer this question.

Browse other questions tagged .