com.flyberrycapital.slack.Methods

IM

class IM extends AnyRef

The container for Slack's 'im' methods (https://api.slack.com/methods).

Note: This is a partial implementation, and some (i.e. most) methods are unimplemented.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IM
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IM(httpClient: HttpClient, apiToken: String)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(channel: String): IMCloseResponse

    https://api.

    https://api.slack.com/methods/im.close

    channel

    The channel ID for the direct message history to close.

    returns

    IMCloseResponse

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. def history(channel: String, params: Map[String, String] = Map()): ChannelHistoryResponse

    https://api.

    https://api.slack.com/methods/im.history

    The format is exactly the same as channels.history, with the exception that we call im.history. Code copied from com.flyberrycapital.slack.Methods.Channels

    channel

    The channel ID of the IM to get history for.

    params

    A map of optional parameters and their values.

    returns

    ChannelHistoryResponse

  15. def historyStream(channel: String, params: Map[String, String] = Map()): Iterator[SlackMessage]

    A wrapper around the im.

    A wrapper around the im.history method that allows users to stream through a channel's past messages seamlessly without having to worry about pagination and multiple queries.

    channel

    The channel ID to fetch history for.

    params

    A map of optional parameters and their values.

    returns

    Iterator of SlackMessages, ordered by time in descending order.

  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def list(): IMListResponse

    https://api.

    https://api.slack.com/methods/im.list

    returns

    IMListResponse of all open IM channels

  18. def mark(channel: String, ts: String): IMMarkResponse

    https://api.

    https://api.slack.com/methods/im.mark

    channel

    The channel ID for the direct message history to set reading cursor in.

    returns

    IMMarkResponse

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def open(user: String): IMOpenResponse

    https://api.

    https://api.slack.com/methods/im.open

    user

    The user ID for the user to open a direct message channel with.

    returns

    IMOpenResponse

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped