RocketChat / RocketChat/Rocket.Chat
Incoming Webhook - Choosing Channel/User outside rocket?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
As far as i can see, the incoming webhooks are specified to a channel, or user on the rocket.chat side (this is forced behaviour). Is there any type of configuration, where i can let a client, which uses this hook, choose the channel/user to post to?
I tried using the method from different closed issues: #2705
The other method would be using the REST-API directly, which means i have to setup a custom user and use a normal authentication scheme in my application and use 2 calls for each message. Quite some overhead.
Currently running:
0.58.4 with commit 60fa18c32efaf0113035082475d60ef9050aaf3c
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the incoming webhook entry point and the approach referenced in issue #2705, then compare it with the REST API flow described here. The work is complete when an authenticated webhook client can select the destination channel or user without requiring a separate user account and multiple API calls.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100