class SlackApiClient extends SlackApiHttpProtocolSupport with SlackApiOAuthClient with SlackApiTestClient with SlackApiAppsClient with SlackApiAuthClient with SlackApiBotsClient with SlackApiChannelsClient with SlackApiChatClient with SlackApiConversationsClient with SlackApiDndClient with SlackApiEmojiClient with SlackApiImClient with SlackApiPinsClient with SlackApiReactionsClient with SlackApiTeamClient with SlackApiUsersClient with SlackApiViewsClient

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SlackApiClient
  2. SlackApiViewsClient
  3. SlackApiUsersClient
  4. SlackApiTeamClient
  5. SlackApiReactionsClient
  6. SlackApiPinsClient
  7. SlackApiImClient
  8. SlackApiEmojiClient
  9. SlackApiDndClient
  10. SlackApiConversationsClient
  11. SlackApiChatClient
  12. SlackApiChannelsClient
  13. SlackApiBotsClient
  14. SlackApiAuthClient
  15. SlackApiAppsClient
  16. SlackApiTestClient
  17. SlackApiOAuthClient
  18. SlackApiHttpProtocolSupport
  19. SlackApiClientBackend
  20. AnyRef
  21. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SlackApiClient()(implicit sttpBackend: SttpFutureBackendType)

Type Members

  1. type SlackApiEmptyType = JsonObject
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val SLACK_EMPTY_REQUEST: SlackApiEmptyType
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def checkIfContentTypeIsJson(contentType: MediaType): Boolean
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  7. def circeDecodingErrorToApiError(uri: Uri, error: Error, body: String): SlackApiClientError
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def createSlackHttpApiRequest(): RequestT[Empty, Either[String, String], Nothing]
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  10. def decodeSlackGeneralResponse(body: String): Either[Error, SlackGeneralResponseParams]
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  11. def decodeSlackResponse[RS](uri: Uri, response: Response[Either[String, String]])(implicit decoder: Decoder[RS]): Either[SlackApiClientError, RS]
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  12. def encodePostBody[RQ](request: RequestT[Empty, Either[String, String], Nothing], body: RQ)(implicit encoder: Encoder[RQ]): RequestT[Empty, Either[String, String], Nothing]
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getSlackMethodAbsoluteUri(methodUri: String): Uri
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  18. def handleSlackEmptyRes[RS](replacement: ⇒ RS)(either: Either[SlackApiClientError, RS]): Either[SlackApiClientError, RS]

    Some of Slack responses historically returns HTTP plain text responses with 'Ok' body, instead JSON.

    Some of Slack responses historically returns HTTP plain text responses with 'Ok' body, instead JSON. So, this auxiliary function helps to fix and hide this behaviour.

    RS

    response type

    replacement

    what should be returned instead HTTP OK

    either

    a response result to fix

    returns

    either other error or fixed empty result

    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
    Note

    There are very few methods that behave like that, so we're fixing it for those particular functions, instead of generalising this behaviour for other API methods.

  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def protectedSlackHttpApiGet[RS](methodUri: String, request: RequestT[Empty, Either[String, String], Nothing], params: Map[String, Option[String]])(implicit slackApiToken: SlackApiToken, decoder: Decoder[RS], ec: ExecutionContext): Future[Either[SlackApiClientError, RS]]
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  25. def protectedSlackHttpApiPost[RQ, RS](methodUri: String, body: RQ)(implicit slackApiToken: SlackApiToken, encoder: Encoder[RQ], decoder: Decoder[RS], ec: ExecutionContext): Future[Either[SlackApiClientError, RS]]
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  26. def protectedSlackHttpApiPost[RQ, RS](absoluteUri: Uri, request: RequestT[Empty, Either[String, String], Nothing], body: RQ)(implicit slackApiToken: SlackApiToken, encoder: Encoder[RQ], decoder: Decoder[RS], ec: ExecutionContext): Future[Either[SlackApiClientError, RS]]
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  27. def protectedSlackHttpApiRequest[RS](request: Request[Either[String, String], Nothing])(implicit slackApiToken: SlackApiToken, decoder: Decoder[RS], ec: ExecutionContext): Future[Either[SlackApiClientError, RS]]
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  28. def sendSlackRequest[RS](request: Request[Either[String, String], Nothing])(implicit decoder: Decoder[RS], ec: ExecutionContext): Future[Either[SlackApiClientError, RS]]
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  29. def slackGeneralResponseToError(uri: Uri, generalResponseParams: SlackGeneralResponseParams): Option[SlackApiClientError]
    Attributes
    protected
    Definition Classes
    SlackApiHttpProtocolSupport
  30. implicit val sttpBackend: SttpFutureBackendType
    Attributes
    protected
    Definition Classes
    SlackApiClientSlackApiClientBackend
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  36. object apps
    Definition Classes
    SlackApiAppsClient
  37. object auth
    Definition Classes
    SlackApiAuthClient
  38. object bots
    Definition Classes
    SlackApiBotsClient
  39. object channels
    Definition Classes
    SlackApiChannelsClient
  40. object chat
    Definition Classes
    SlackApiChatClient
  41. object conversations
    Definition Classes
    SlackApiConversationsClient
  42. object dnd
    Definition Classes
    SlackApiDndClient
  43. object emoji
    Definition Classes
    SlackApiEmojiClient
  44. object http
    Definition Classes
    SlackApiHttpProtocolSupport
  45. object im
    Definition Classes
    SlackApiImClient
  46. object oauth
    Definition Classes
    SlackApiOAuthClient
  47. object pins
    Definition Classes
    SlackApiPinsClient
  48. object reactions
    Definition Classes
    SlackApiReactionsClient
  49. object team
    Definition Classes
    SlackApiTeamClient
  50. object api
    Definition Classes
    SlackApiTestClient
  51. object users
    Definition Classes
    SlackApiUsersClient
  52. object views
    Definition Classes
    SlackApiViewsClient

Inherited from SlackApiViewsClient

Inherited from SlackApiUsersClient

Inherited from SlackApiTeamClient

Inherited from SlackApiReactionsClient

Inherited from SlackApiPinsClient

Inherited from SlackApiImClient

Inherited from SlackApiEmojiClient

Inherited from SlackApiDndClient

Inherited from SlackApiChatClient

Inherited from SlackApiChannelsClient

Inherited from SlackApiBotsClient

Inherited from SlackApiAuthClient

Inherited from SlackApiAppsClient

Inherited from SlackApiTestClient

Inherited from SlackApiOAuthClient

Inherited from SlackApiClientBackend

Inherited from AnyRef

Inherited from Any

Ungrouped