This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-3.11.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.11.x by this push: new 91fc4b2 Regen for commit 19ea944791f90aeb23ac4917b941f9d125b6b715 91fc4b2 is described below commit 91fc4b2ef54332b89930853b2c7daa101ab0d7b9 Author: oscerd <osc...@users.noreply.github.com> AuthorDate: Thu Mar 10 14:02:19 2022 +0000 Regen for commit 19ea944791f90aeb23ac4917b941f9d125b6b715 Signed-off-by: GitHub <nore...@github.com> --- .../apache/camel/catalog/docs/slack-component.adoc | 31 +++++++++++++++++----- .../modules/ROOT/pages/slack-component.adoc | 31 +++++++++++++++++----- 2 files changed, 50 insertions(+), 12 deletions(-) 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 e2e5c70..71a4c1f 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 @@ -212,11 +212,31 @@ In this way you'll get the last message from general channel. The consumer will You'll need to create a Slack app and use it on your workspace. -Use the 'Bot User OAuth Access Token' as token for the consumer endpoint. - -IMPORTANT: Add the corresponding history (`channels:history` or `groups:history` or `mpim:history` or `im:history`) and -read (`channels:read` or `groups:read` or `mpim:read` or `im:read`) user token scope to your app to grant it permission to -view messages in the corresponding channel. You will need to use the conversationType option to set it up too (`PUBLIC_CHANNEL`, `PRIVATE_CHANNEL`, `MPIM`, `IM`) +Use the 'User OAuth Token' as token for the consumer endpoint. + +IMPORTANT: Add the corresponding history (`channels:history`, `groups:history`, `mpim:history` and `im:history`) and +read (`channels:read`, `groups:read`, `mpim:read` and `im:read`) user token scope to your app to grant it permission to +view messages in the corresponding channel. + +For Bot tokens you'll need the following permissions: +- channels:history +- groups:history +- im:history +- mpim:history +- channels:read +- groups:read +- im:read +- mpim:read + +For User tokens you'll need the following permissions: +- channels:history +- groups:history +- im:history +- mpim:history +- channels:read +- groups:read +- im:read +- mpim:read The naturalOrder option allows consuming messages from the oldest to the newest. Originally you would get the newest first and consume backward (message 3 => message 2 => message 1) @@ -224,5 +244,4 @@ Originally you would get the newest first and consume backward (message 3 => mes IMPORTANT: You can use the conversationType option to read history and messages from a channel that is not only public (`PUBLIC_CHANNEL`,`PRIVATE_CHANNEL`, `MPIM`, `IM`) - include::spring-boot:partial$starter.adoc[] diff --git a/docs/components/modules/ROOT/pages/slack-component.adoc b/docs/components/modules/ROOT/pages/slack-component.adoc index 232da49..28932e1 100644 --- a/docs/components/modules/ROOT/pages/slack-component.adoc +++ b/docs/components/modules/ROOT/pages/slack-component.adoc @@ -214,11 +214,31 @@ In this way you'll get the last message from general channel. The consumer will You'll need to create a Slack app and use it on your workspace. -Use the 'Bot User OAuth Access Token' as token for the consumer endpoint. - -IMPORTANT: Add the corresponding history (`channels:history` or `groups:history` or `mpim:history` or `im:history`) and -read (`channels:read` or `groups:read` or `mpim:read` or `im:read`) user token scope to your app to grant it permission to -view messages in the corresponding channel. You will need to use the conversationType option to set it up too (`PUBLIC_CHANNEL`, `PRIVATE_CHANNEL`, `MPIM`, `IM`) +Use the 'User OAuth Token' as token for the consumer endpoint. + +IMPORTANT: Add the corresponding history (`channels:history`, `groups:history`, `mpim:history` and `im:history`) and +read (`channels:read`, `groups:read`, `mpim:read` and `im:read`) user token scope to your app to grant it permission to +view messages in the corresponding channel. + +For Bot tokens you'll need the following permissions: +- channels:history +- groups:history +- im:history +- mpim:history +- channels:read +- groups:read +- im:read +- mpim:read + +For User tokens you'll need the following permissions: +- channels:history +- groups:history +- im:history +- mpim:history +- channels:read +- groups:read +- im:read +- mpim:read The naturalOrder option allows consuming messages from the oldest to the newest. Originally you would get the newest first and consume backward (message 3 => message 2 => message 1) @@ -226,5 +246,4 @@ Originally you would get the newest first and consume backward (message 3 => mes IMPORTANT: You can use the conversationType option to read history and messages from a channel that is not only public (`PUBLIC_CHANNEL`,`PRIVATE_CHANNEL`, `MPIM`, `IM`) - include::spring-boot:partial$starter.adoc[]