6 ms·
Are there other messaging apps which are equally bot friendly. Telegram bots are just so nice and scriptable, I don't use it for anything else, just a personal
by JZL003 2y ago
Are there other messaging apps which are equally bot friendly. Telegram bots are just so nice and scriptable, I don't use it for anything else, just a personal bot (so maybe all this bloat and sketchiness doesn't matter) but I'd be happier to use another scriptable platform
Even being able to have bot custom keyboards/buttons is pretty great
- preezer 2y agoSadly no. I tried Signal, but it's incredibly complicated. I would move to signal if they made their API more easy.
- Karrot_Kream 2y agoI use Telegram a lot, but Matrix is even more friendly to scripting. If you're just using the bots for yourself, you can setup a non-federated Dendrite instance and just write bots for it.
- thatloststudent 2y agoI like how flexible matrix bots are but there are some problems that I'm not able to easily solve, like finding out when a new person joins a matrix room because the m.join event is used for user info changes as well as joins. Edit: I found this [1] table that hopefully simplifies things, I'll see if that works out. [1]: https://spec.matrix.org/v1.8/client-server-api/#mroommember https://spec.matrix.org/v1.8/client-server-api/#mroommember
- ravetcofx 2y agoWhat do you use bots for if you don't mind me asking? I've never found a use case for messaging app bots for personal or hobby use
- xeonax 2y agoI administer my game's server with it. Also realtime event monitoring
- omani 2y agohome automation for example.
- seized 2y agoTry Pushover for sending notifications for that. Super easy API, one time $5, and excellent features for message priority/retry/etc to allow for some messages to notake a sound and others to wake the dead up.
- c0wb0yc0d3r 2y agoBut every user needs to have a pushover license, correct? At least that's how it's always seemed to me. With telegram my partner doesn't need a license. They already use telegram
- hagbard_c 2y agoRun your own XMPP server - prosody or ejabberd - and you have all the freedom in the world to use it for whatever purpose you want whether that be remote control, 'bots' or anything else. If you're a resident of the EU you'll also escape the 'chat control' [1] (mass surveillance) law which is a boon. Prosody runs happily on a SBC like a RasPi 2 or higher - even a RasPi 1 would work - and takes next to no maintenance to keep it up and running. [1] https://mullvad.net/en/chatcontrol https://mullvad.net/en/chatcontrol
- redserk 2y agoDo you have suggestions for XMPP client libraries (across any language)? I really wanted to do this myself but it seems that the first few results I found across several different languages haven't been actively maintained.
- MattJ100 2y agoWeb: xmpp.js or converse.js (the latter is a full client, but can be embedded "headless" with any custom UI you like) Python: slixmpp Go: Mellium or go-xmpp Rust: xmpp-rs Java: Smack Any platforms I missed? There is also the Snikket SDK in development, which is still in its early stages, and designed for XMPP IM apps specifically (whereas most of the libraries listed above are generic and can be turned to any purpose). The SDK is still lacking a few big things like E2EE, but already has calls and some other stuff. Edit: I should add that building a good messaging app is a lot of work (ask anyone who has tried it, regardless of protocol). If that's what you're doing, consider contributing to or at least starting with an existing project. https://xmpp.org/software/ https://xmpp.org/software/
- sneak 2y agoThe Vector people who develop Matrix run a centralized server with APNS client certificates (from Apple) that allow them to push notifications to every single Matrix iOS user when they receive messages. This centralized server is a notification proxy for all iOS users that use that client. With federated systems, notifications are a big problem on iOS because the apps don't actually get to run in the background in the traditional sense. They can periodically "refresh", or they can be opened by a user, or they can be woken up by a notification. Notifications can only come from Apple, and can only come via Apple from the app's developer. Even selfhosted Mattermost pushes notifications to users via the Mattermost organization's centralized APNS notification proxy. It's an annoying form of phone-home, and I think it may even leak message content to the publisher (because the notifications can contain message data). If you self-host an XMPP server, you can't get realtime notifications of messages on iOS unless you have the app actively open and foregrounded so the app itself can maintain a connection to the server. The moment (or, actually, 15-20 seconds later) you lock your device, poof goes the connection. XMPP is not end to end encrypted, and is a dying (and weird) protocol. If you're going to selfhost anything, Matrix (via dendrite or synapse or whatever the current state of the art is) is probably the correct answer.
- hillcrestenigma 2y agoDiscord is one other messaging platform that I've found to be very bot friendly