Packages

package client

Slack API http client interfaces and factory methods and implementation

Linear Supertypes
AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. client
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class SlackApiBotToken(value: String, scope: Option[String] = None, workspaceId: Option[String] = None) extends SlackApiToken with Product with Serializable

    Slack API bot token

    Slack API bot token

    value

    token value

    scope

    token scope in a string form

    workspaceId

    a workspace/team id for this token

  2. type SlackApiClient = SlackApiClientT[Future]

    For compatibility reasons SlackApiClient defined as in previous versions (before 1.2+) so you still can create it with new SlackApiClient()

  3. trait SlackApiClientBackend[F[_]] extends AnyRef

    A trait defines requirement for STTP backend

  4. sealed abstract class SlackApiClientError extends SlackApiError

    Slack Web API error

  5. class SlackApiClientT[F[_]] extends SlackApiHttpRateControlSupport[F] with SlackApiOAuthClient[F] with SlackApiTestClient[F] with SlackApiAppsClient[F] with SlackApiAuthClient[F] with SlackApiBotsClient[F] with SlackApiChannelsClient[F] with SlackApiChatClient[F] with SlackApiConversationsClient[F] with SlackApiDndClient[F] with SlackApiEmojiClient[F] with SlackApiImClient[F] with SlackApiPinsClient[F] with SlackApiReactionsClient[F] with SlackApiTeamClient[F] with SlackApiUsersClient[F] with SlackApiViewsClient[F] with SlackApiEventsCallbackClient[F]

    Slack API client

  6. case class SlackApiConnectionError(uri: Uri, cause: IOException) extends SlackApiClientError with SlackApiRetryableError with Product with Serializable

    Slack Web API network/connection error

    Slack Web API network/connection error

    uri

    Web method URL

    cause

    original cause

  7. case class SlackApiDecodingError(uri: Uri, coderError: Error, httpResponseBody: Option[String] = None) extends SlackApiClientError with Product with Serializable

    Slack Web API JSON decoding error

    Slack Web API JSON decoding error

    uri

    Web method URL

    coderError

    JSON decoder error

    httpResponseBody

    HTTP response body

  8. case class SlackApiEmptyResultError(uri: Uri) extends SlackApiClientError with Product with Serializable

    Slack Wep API unexpected empty result has been received

    Slack Wep API unexpected empty result has been received

    uri

    Web method URL

  9. case class SlackApiHttpError(uri: Uri, message: String, httpStatusCode: StatusCode, httpResponseBody: Option[String] = None) extends SlackApiClientError with SlackApiRetryableError with Product with Serializable

    Slack Web API HTTP protocol error

    Slack Web API HTTP protocol error

    uri

    Web method URL

    message

    error message

    httpStatusCode

    HTTP status code

    httpResponseBody

    HTTP response body

  10. case class SlackApiRateLimitMaxDelayError(uri: Uri, message: String) extends SlackApiClientError with Product with Serializable

    Slack Web API rate limit max delay error

    Slack Web API rate limit max delay error

    uri

    Web method URL

    message

    error message

  11. case class SlackApiRateLimitedError(uri: Uri, retryAfter: Option[Long] = None, details: Option[String] = None, warning: Option[String] = None, messages: Option[List[String]] = None) extends SlackApiClientError with SlackApiRetryableError with Product with Serializable

    Slack Web API protocol rate limited error

    Slack Web API protocol rate limited error

    uri

    Web method URL

    retryAfter

    retry after specified interval (in seconds)

    details

    error detail message

    warning

    Slack warnings

    messages

    Slack error messages

  12. case class SlackApiResponseError(uri: Uri, errorCode: String, httpStatusCode: StatusCode, details: Option[String] = None, warning: Option[String] = None, messages: Option[List[String]] = None) extends SlackApiClientError with Product with Serializable

    Slack Web API protocol general error

    Slack Web API protocol general error

    uri

    Web method URL

    errorCode

    Slack error code

    httpStatusCode

    HTTP status code

    details

    error detail message

    warning

    Slack warnings

    messages

    Slack error messages

  13. trait SlackApiRetryableError extends AnyRef

    A trait to mark retryable errors

  14. case class SlackApiSystemError(uri: Uri, cause: Throwable) extends SlackApiClientError with Product with Serializable

    System/unexpected Slack Web API error

    System/unexpected Slack Web API error

    uri

    Web method URL

    cause

    original cause

  15. trait SlackApiToken extends AnyRef

    Slack API token base representation

  16. case class SlackApiUserToken(value: String, scope: Option[String] = None, workspaceId: Option[String] = None) extends SlackApiToken with Product with Serializable

    Slack API user token

    Slack API user token

    value

    token value

    scope

    token scope in a string form

    workspaceId

    a workspace/team id for this token

Value Members

  1. object SlackApiClient
  2. object SlackApiClientBackend
  3. object SlackApiToken

    Slack API token utility constructors and constants

Inherited from AnyRef

Inherited from Any

ErrorDefs

TokenDefs

Ungrouped