This is an automated email from the ASF dual-hosted git repository.

acosentino 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 65f1872  Note specifying the OAuth scope required to view messages in 
a channel (#3992)
65f1872 is described below

commit 65f18726b66e63d7db0460683a3b372fcc9adf24
Author: Alexandre Briani Kieling <alex.kiel...@gmail.com>
AuthorDate: Fri Jul 10 13:31:49 2020 -0300

    Note specifying the OAuth scope required to view messages in a channel 
(#3992)
    
    This note will help users configure the required permissions to access 
messages written in channels.
---
 components/camel-slack/src/main/docs/slack-component.adoc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/components/camel-slack/src/main/docs/slack-component.adoc 
b/components/camel-slack/src/main/docs/slack-component.adoc
index 5664d15..c1e6b6a 100644
--- a/components/camel-slack/src/main/docs/slack-component.adoc
+++ b/components/camel-slack/src/main/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[]

Reply via email to