Anyone using Synology Chat?

I’ve got it working to send text but not attaching an image.

test_syno_chat:
  alias: 'Test image send to Syno Chat'
  sequence:
    - service: notify.hass_synochat
      data:
        title: test
        message: test
        data:
          file: /config/www/images/test.jpg

The above sequence works in Pushebullet but not in Syno Chat. If I use Postman to send the following json payload, it sends the file attachment. Any assistance would be appreciated.

payload={"text": "a fun image", "file_url": "https://cdn.pixabay.com/photo/2014/06/03/19/38/test-361512_960_720.jpg"}

I tried using the aforementioned file_url to send the pixabay image from Hass and that didn’t work either so need some help with the syntax I think.

Dang. It appears that sending a file by this platform is not supported. :confused:

Anyone suggest another platform that is free that allows file sending? Was using Pushbullet but hit the file send limit and subscription is $4/month.

OK, have resorted to try to make a command line switch. I’ve tested the URL below in Chrome and it works but I don’t know how to format it correctly for HA. Any assistance would be appreciated.

switch:
  platform: command_line
  switches:
    Syno:
      command_on: "curl -X POST \ --data-urlencode 'payload={"text": "This is a test"}' \ https://mymdomain:8091/webapi/entry.cgi?api=SYNO.Chat.External&method=incoming&version=2&token=%22abunchofrandombumbersandlettersgcaEG3oIkwiK%22"

But I get the following error.
image