-
Notifications
You must be signed in to change notification settings - Fork 508
feat(bots): 🐣 Start with implementing bots #9458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
f95a437 to
438efd4
Compare
438efd4 to
3f5e144
Compare
b85b170 to
877bc86
Compare
877bc86 to
11217cd
Compare
11217cd to
d9db93d
Compare
d9db93d to
9c48a3b
Compare
Next steps
|
dd69534 to
1bdc64d
Compare
dff4f01 to
7c5ee81
Compare
|
Tests now fail due to missing #10078 |
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
… endpoint Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
525b18e to
8997f3e
Compare
Signed-off-by: Joas Schilling <[email protected]>
|
@nickvergessen Thanks a lot for implementing webhooks. Unfortunately I struggle to accomplish the following which was also requested in issue #1879 - Slack and most other chat solutions allow the user to easily create a token for a chat room, and based on that token create a webhook secure URL which then can be used to let any other application send a message into that chat room (no authentication then required). How can I accomplish this now programmatically? I want users to add any room to my own (non-Nextcloud) app, and let my app communicate via Nextcloud Talk to users. Thank you for a hint. |
|
Responded in the issue |


☑️ Resolves
Config (webhook.json)
{ "secret": "At least 32 long random shared secret" }Receiver (webhook.php)
Webhook message received
{ "type": "Create", "actor": { "type": "Person", "id": "users/admin", "name": "Laura Adams" }, "object": { "type": "Note", "id": "2370", "name": "{\"message\":\"Hello {mention-call1} \\ud83d\\udc4b\",\"parameters\":{\"mention-call1\":{\"type\":\"call\",\"id\":\"u48mn5p4\",\"name\":\"Webhooked room\",\"call-type\":\"group\",\"icon-url\":\"https:\\/\\/192.168.2.63\\/ocs\\/v2.php\\/apps\\/spreed\\/api\\/v1\\/room\\/u48mn5p4\\/avatar?v=996f0d79\"}}}" }, "target": { "type": "Collection", "id": "u48mn5p4", "name": "Webhooked room" } }