Class Context

    • Field Detail

      • slack

        protected Slack slack
      • logger

        public final org.slf4j.Logger logger
      • enterpriseId

        protected String enterpriseId
        Organization ID for Enterprise Grid.
      • teamId

        protected String teamId
        Workspace ID.
      • botToken

        protected String botToken
        A bot token associated with this request. The format must be starting with `xoxb-`.
      • botId

        protected String botId
        bot_id associated with this request.
      • botUserId

        protected String botUserId
        Bot user's user_id associated with this request.
      • requestUserId

        protected String requestUserId
        An install user's user_id associated with this request.
      • requestUserToken

        protected String requestUserToken
        An install user's access token associated with this request.
    • Constructor Detail

      • Context

        public Context()
    • Method Detail

      • ack

        public Response ack​(com.google.gson.JsonElement json)
      • toJson

        public com.google.gson.JsonElement toJson​(Object obj)
      • getSlack

        public Slack getSlack()
      • getLogger

        public org.slf4j.Logger getLogger()
      • getEnterpriseId

        public String getEnterpriseId()
        Organization ID for Enterprise Grid.
      • getTeamId

        public String getTeamId()
        Workspace ID.
      • getBotToken

        public String getBotToken()
        A bot token associated with this request. The format must be starting with `xoxb-`.
      • getBotId

        public String getBotId()
        bot_id associated with this request.
      • getBotUserId

        public String getBotUserId()
        Bot user's user_id associated with this request.
      • getRequestUserId

        public String getRequestUserId()
        An install user's user_id associated with this request.
      • getRequestUserToken

        public String getRequestUserToken()
        An install user's access token associated with this request.
      • setSlack

        public void setSlack​(Slack slack)
      • setEnterpriseId

        public void setEnterpriseId​(String enterpriseId)
        Organization ID for Enterprise Grid.
      • setTeamId

        public void setTeamId​(String teamId)
        Workspace ID.
      • setBotToken

        public void setBotToken​(String botToken)
        A bot token associated with this request. The format must be starting with `xoxb-`.
      • setBotId

        public void setBotId​(String botId)
        bot_id associated with this request.
      • setBotUserId

        public void setBotUserId​(String botUserId)
        Bot user's user_id associated with this request.
      • setRequestUserId

        public void setRequestUserId​(String requestUserId)
        An install user's user_id associated with this request.
      • setRequestUserToken

        public void setRequestUserToken​(String requestUserToken)
        An install user's access token associated with this request.