Skip to content
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

feat(channels): custom channels #425

Merged
merged 12 commits into from
Mar 24, 2022
Merged

feat(channels): custom channels #425

merged 12 commits into from
Mar 24, 2022

Conversation

samuelmasse
Copy link
Contributor

@samuelmasse samuelmasse commented Mar 24, 2022

Adds a way to create mappings for any arbitrary string. The channel part of the endpoint doesn't have to be a predefined channel anymore

For a full demo of how to use this feature see : https://github.com/botpress/custom-channel

Closes DEV-2397

@linear
Copy link

linear bot commented Mar 24, 2022

DEV-2397 Custom channels

Allow using the endpoint api with custom channel names. These channel names should appear in webhooks. Requires a new table for custom channels

@samuelmasse samuelmasse marked this pull request as ready for review March 24, 2022 19:29
packages/base/src/endpoint.ts Show resolved Hide resolved
packages/server/src/base/streamer.ts Outdated Show resolved Hide resolved
packages/server/src/migrations/1.1.7-custom-channels.ts Outdated Show resolved Hide resolved
@samuelmasse samuelmasse merged commit a818301 into master Mar 24, 2022
@samuelmasse samuelmasse deleted the sm-custom-channels branch March 24, 2022 22:55
@fgrep
Copy link

fgrep commented Apr 30, 2022

Hello @samuelmasse. Can you provide the full demo for this feature? The link https://github.com/botpress/custom-channel does not exist. Thanks

@samuelmasse
Copy link
Contributor Author

samuelmasse commented May 24, 2022

Hey @fgrep I changed the repo visibility to public, you can refer to it to implement your own custom channel. You can use bp.messaging that was added to the sdk in 12.27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants