← Back to context

Comment by amelius

10 hours ago

When can I send messages from a PC running Python?

In a roundabout way, you can.

Today, I could write a Python script to connect to my Matrix Synapse server and send a message to rooms bridged to WhatsApp via the `mautrix-whatsapp` bridge.

WhatsApp has an official API you can use already.

https://pypi.org/project/whatsapp-python/

Hopefully - never ever ever ever ever.

I do not want spam.

This is why iMessage is much better than SMS - there is an implicit cost to send. This is why there is 100x (my experience) iMessage spam than SMS spam. Easy to send messages -> spam

  • > better than SMS - there is an implicit cost to send

    Funnily enough, people being charged per SMS but being allowed to send as much messages as they need on apps like WhatsApp is exactly why SMS/MMS is barely used on a large scale outside of North America.

    I rarely receive any spam on my phone. WhatsApp/Telegram/Signal do have the occasional obvious bot, but all apps make it trivial to block and get rid of any of them.

  • It’s already possible to make WhatsApp bots, if the API was official they could moderate it better if anything so I don’t see how it would help with spam

  • All phone and internet services in the EU are connected to your personal identity document, similar to China. If you send spam, the police come to your house.