You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, can anyone help me for using SlackMessagePostedListener?
Previous RTM API version was working well to handle SlackMessagePostedListener.
However, the new Granular Scope with WebSocket Mode won't be listening any event that is created. This below part is not able to reach no matter how I put the scopes for the bot and tried to subscribe the Event API as well.
If you have any idea, please kindly help me.
SlackMessagePostedListener messagePostedListener = new SlackMessagePostedListener()
{
@Override
public void onEvent(SlackMessagePosted event, SlackSession session) {
// This part is not able to reach no matter how I put the scopes for the bot and tried to subscribe the Event API as well
System.out.println(event.getChannel().getName());
}
};
session.addMessagePostedListener(messagePostedListener);
The text was updated successfully, but these errors were encountered:
Hello, can anyone help me for using SlackMessagePostedListener?
Previous RTM API version was working well to handle SlackMessagePostedListener.
However, the new Granular Scope with WebSocket Mode won't be listening any event that is created. This below part is not able to reach no matter how I put the scopes for the bot and tried to subscribe the Event API as well.
If you have any idea, please kindly help me.
The text was updated successfully, but these errors were encountered: