Class SlackAuth


  • public class SlackAuth
    extends Object
    • Constructor Detail

      • SlackAuth

        public SlackAuth()
    • Method Detail

      • authBaseRequest

        public com.github.seratch.jslack.api.methods.response.auth.AuthTestResponse authBaseRequest​(String accessToken)
                                                                                             throws IllegalAccessError,
                                                                                                    IOException,
                                                                                                    com.github.seratch.jslack.api.methods.SlackApiException
        Throws:
        IllegalAccessError
        IOException
        com.github.seratch.jslack.api.methods.SlackApiException
      • authChannelListRequest

        public com.github.seratch.jslack.api.methods.response.channels.ChannelsListResponse authChannelListRequest​(String accessToken)
                                                                                                            throws IllegalAccessError,
                                                                                                                   IOException,
                                                                                                                   com.github.seratch.jslack.api.methods.SlackApiException
        Throws:
        IllegalAccessError
        IOException
        com.github.seratch.jslack.api.methods.SlackApiException
      • authChatPostMessageRequest

        public com.github.seratch.jslack.api.methods.response.chat.ChatPostMessageResponse authChatPostMessageRequest​(String channelId,
                                                                                                                      String accessToken,
                                                                                                                      String message)
                                                                                                               throws IllegalAccessError,
                                                                                                                      IOException,
                                                                                                                      com.github.seratch.jslack.api.methods.SlackApiException
        Throws:
        IllegalAccessError
        IOException
        com.github.seratch.jslack.api.methods.SlackApiException
      • authAddReminderRequest

        public com.github.seratch.jslack.api.methods.response.reminders.RemindersAddResponse authAddReminderRequest​(String accessToken,
                                                                                                                    String reminderText,
                                                                                                                    String time)
                                                                                                             throws IllegalAccessError,
                                                                                                                    IOException,
                                                                                                                    com.github.seratch.jslack.api.methods.SlackApiException
        Throws:
        IllegalAccessError
        IOException
        com.github.seratch.jslack.api.methods.SlackApiException
      • setSlack

        public void setSlack​(com.github.seratch.jslack.Slack slack)