oxen-io / session-desktop

Session Desktop - Onion routing based messenger
https://getsession.org
GNU General Public License v3.0
1.53k stars 195 forks source link

Session Bot API #608

Open KeeJef opened 4 years ago

KeeJef commented 4 years ago

Telegram has a number of community created bots, this is largely because Telegram has exposed a Bot API which is easy to interact with for developers, we should create a limited version of this to allow users to add bots to Loki messenger to interact with users.

https://core.telegram.org/bots/api

ghost commented 2 years ago

I would really like to see an api and, if possible, a lightweight python bot or libary for an example of sending messages.

It would be very convenient to use and integrate various useful functionality

suciokhan commented 2 years ago

Didn't want to open a new issue because this is similar, but I'd really like a Python API for sending/receiving session messages to individuals or in a group. I'm envisioning doing stuff like sending a message to a remote system from my phone like "activate x" and they Python on the remote system sees the message and kicks off x process.