Adding a file to a message using getResourceAsStream
Is there an easy way to load an image like this and use it with the
addFile
function?3 Replies
mightve found the solution lemme check
Solution
You can use
ChannelProvider { imageStream.toByteReadChannel() }
Thank you!