After sending the image, add this to the beginning of the message: [object InputEvent]

I am sorry but I am not understanding what the issue is here, can you explain?