feat(bots): 🐣 Start with implementing bots#9458
Merged
nickvergessen merged 16 commits intomasterfrom Aug 7, 2023
Merged
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
f95a437 to
438efd4
Compare
This was referenced Jun 2, 2023
438efd4 to
3f5e144
Compare
b85b170 to
877bc86
Compare
877bc86 to
11217cd
Compare
11217cd to
d9db93d
Compare
d9db93d to
9c48a3b
Compare
Member
Author
Next steps
|
dd69534 to
1bdc64d
Compare
9 tasks
dff4f01 to
7c5ee81
Compare
Member
Author
Altahrim
approved these changes
Aug 4, 2023
Member
Author
|
Tests now fail due to missing #10078 |
come-nc
approved these changes
Aug 7, 2023
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
… endpoint Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
525b18e to
8997f3e
Compare
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 tasks
|
@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. |
Member
Author
|
Responded in the issue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


☑️ 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" } }