Group-signal-bridge/signal.py
Pták 9f7ca5bccd init
"theoretically working version"
2024-04-19 22:17:30 +02:00

18 lines
267 B
Python

import subprocess
exe = "signal-cli"
def send(contacts, message):
subprocess.run([
exe,
"send",
*contacts,
"-m",
message
], encoding="utf-8")
def receive():
subprocess.run([
exe,
"receive"
])