This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 7a57e1e Regen 7a57e1e is described below commit 7a57e1e3ab6072f38989c6ec58694a2d3938d402 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sat Jul 11 14:19:01 2020 +0200 Regen --- .../resources/org/apache/camel/catalog/docs/slack-component.adoc | 1 + docs/components/modules/ROOT/pages/slack-component.adoc | 1 + 2 files changed, 2 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/slack-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/slack-component.adoc index 5664d15..c1e6b6a 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/slack-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/slack-component.adoc @@ -177,5 +177,6 @@ from("slack://general?token=RAW(<YOUR_TOKEN>)&maxResults=1") In this way you'll get the last message from general channel. The consumer will take track of the timestamp of the last message consumed and in the next poll it will check from that timestamp. +IMPORTANT: Add the `channels:history` user token scope to your app to grant it permission to view messages in the user's public channels. include::camel-spring-boot::page$slack-starter.adoc[] diff --git a/docs/components/modules/ROOT/pages/slack-component.adoc b/docs/components/modules/ROOT/pages/slack-component.adoc index 91e836b..6e7d6ab 100644 --- a/docs/components/modules/ROOT/pages/slack-component.adoc +++ b/docs/components/modules/ROOT/pages/slack-component.adoc @@ -179,5 +179,6 @@ from("slack://general?token=RAW(<YOUR_TOKEN>)&maxResults=1") In this way you'll get the last message from general channel. The consumer will take track of the timestamp of the last message consumed and in the next poll it will check from that timestamp. +IMPORTANT: Add the `channels:history` user token scope to your app to grant it permission to view messages in the user's public channels. include::camel-spring-boot::page$slack-starter.adoc[]