@feld love it, thanks! Just yesterday I was wondering whether I can rely on delta chat to receive alerts and send simple commands to my server.. #DeltaChatOps! :bash:
@safonas Honestly it was just as easy as Telegram, it just needs some docs improvements.
Also if you've never written bots for Telegram you may have needed to compile and run their telegram-bot-api for certain functionality (larger files, etc)
Yes, this is how Delta Chat was designed from the start! In fact you can even use Delta Chat as a hybrid mail/instant messaging client, and you can even use the same account for mail and chatting if you want, but people often find it works more smoothly if you create a separate account for chatting.
However there are some differences between a regular mail server and a chatmail server which you might want to learn about, such as push notifications and automatic mail deletion.
@peter oh, great to hear! I need to make a few updates to the blog post with information I've learned recently:
- if the account has bot: 1 set, you do not need to accept a chat to be able to write messages back to it.
- the wait_next_msgs is actually an experimental feature and the current best practice is to use poll get_next_event in a loop so you can get all types of messages/events and process them (emoji reacts, etc)
I think there are a couple other things I'd like to mention but I'll have to dig up my notes :)