What is the best open end up end encrypted messenger that has a good cli client for most platforms to send messages from scripts?

I currently use signal-cli, but looking for a change.

- signal-cli requires java, quite specific versions and it's hard to install / upgrade on nas devices. I would much prefer a self contained binary (like restic does)

- signal starts requiring captchas, especially over vpn. Not good for scripts

- telegram? Lol. No.

- matrix could be nice, if there is good self contained cli client. I don't need to receive currently, only send. Any tips?

- simplex - after fighting with haskell and not being able to compile it according to instructions neither on macos, nor on Linux. Binaries don't work (mac is x86 only, not arm64, Linux - I don't use Ubuntu)

- session maybe? Is there any good cli?

- I need push notifications to work reliably