Go to file
2024-06-24 00:19:43 +02:00
.gitignore fix: self sending !kot works now 2024-06-23 23:03:20 +02:00
LICENSE Initial commit 2024-06-23 19:36:33 +02:00
main.py feat: !pies command 2024-06-24 00:19:43 +02:00
readme.md feat: made script more extensible 2024-06-23 23:47:46 +02:00
requirements.txt feat: send kot image after receiving !kot 2024-06-23 22:09:55 +02:00
run.sh fix: self sending !kot works now 2024-06-23 23:03:20 +02:00

Usefull: https://bbernhard.github.io/signal-cli-rest-api/

If the message was send from the same account as the bot is connected to: { "envelope": { "source": "NAME", "sourceNumber": "PHONE_NUMBER", "sourceUuid": "SOURCE_ID", "sourceName": "USER_DEFINED_NAME", "sourceDevice": 69, "timestamp": 1719177728639, "syncMessage": { "sentMessage": { "destination": "DEST_NAME", "destinationNumber": "DEST_PHONE_NUMBER", "destinationUuid": "DEST_SEND_MESSAGE", "timestamp": 1719177728639, "message": "MESSAGE_CONTENT", "expiresInSeconds": 0, "viewOnce": false } } }, "account": "BOT_ACCOUNT_PHONE_NUMBER" }

If the message was send from other account: { "envelope": { "source": "NAME", "sourceNumber": "PHONE_NUMBER", "sourceUuid": "SOURCE_ID", "sourceName": "USER_DEFINED_NAME", "sourceDevice": 69, "timestamp": 1719177917717, "dataMessage": { "timestamp": 1719177917717, "message": "MESSAGE_CONTENT", "expiresInSeconds": 0, "viewOnce": false, "groupInfo": { "groupId": "ID_OF_GROUP_SEND_TO", "type": "DELIVER" } } }, "account": "BOT_ACCOUNT_PHONE_NUMBER" }