SlackApiClient

slack.api.SlackApiClient
See theSlackApiClient companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addReaction(emojiName: String, file: Option[String], fileComment: Option[String], channelId: Option[String], timestamp: Option[String])(implicit system: ActorSystem): Future[Boolean]

Attributes

def addReactionToMessage(emojiName: String, channelId: String, timestamp: String)(implicit system: ActorSystem): Future[Boolean]
def archiveChannel(channelId: String)(implicit system: ActorSystem): Future[Boolean]

Attributes

def archiveGroup(channelId: String)(implicit system: ActorSystem): Future[Boolean]

Attributes

def closeGroup(channelId: String)(implicit system: ActorSystem): Future[Boolean]
def closeIm(channelId: String)(implicit system: ActorSystem): Future[Boolean]

Attributes

def closeMpim(channelId: String)(implicit system: ActorSystem): Future[Boolean]
def createChannel(name: String)(implicit system: ActorSystem): Future[Channel]
def createChildGroup(channelId: String)(implicit system: ActorSystem): Future[Group]
def createGroup(name: String)(implicit system: ActorSystem): Future[Group]
def deleteChat(channelId: String, ts: String, asUser: Option[Boolean])(implicit system: ActorSystem): Future[Boolean]

Attributes

def deleteFile(fileId: String)(implicit system: ActorSystem): Future[Boolean]

Attributes

def getChannelHistory(channelId: String, latest: Option[String], oldest: Option[String], inclusive: Option[Int], count: Option[Int])(implicit system: ActorSystem): Future[HistoryChunk]
def getChannelInfo(channelId: String)(implicit system: ActorSystem): Future[Channel]
def getChannelReplies(channelId: String, thread_ts: String)(implicit system: ActorSystem): Future[RepliesChunk]
def getConversationInfo(channelId: String, includeLocale: Boolean, includeNumMembers: Boolean)(implicit system: ActorSystem): Future[Channel]
def getDetailedFileInfo(file_id: String, count: Option[Int], page: Option[Int])(implicit system: ActorSystem): Future[DetailedFileInfo]
def getFileInfo(fileId: String, count: Option[Int], page: Option[Int])(implicit system: ActorSystem): Future[FileInfo]
def getGroupHistory(channelId: String, latest: Option[String], oldest: Option[String], inclusive: Option[Int], count: Option[Int])(implicit system: ActorSystem): Future[HistoryChunk]
def getGroupInfo(channelId: String)(implicit system: ActorSystem): Future[Group]
def getImHistory(channelId: String, latest: Option[String], oldest: Option[String], inclusive: Option[Int], count: Option[Int])(implicit system: ActorSystem): Future[HistoryChunk]
def getMpimHistory(channelId: String, latest: Option[String], oldest: Option[String], inclusive: Option[Int], count: Option[Int])(implicit system: ActorSystem): Future[HistoryChunk]
def getReactions(file: Option[String], fileComment: Option[String], channelId: Option[String], timestamp: Option[String], full: Option[Boolean])(implicit system: ActorSystem): Future[Seq[Reaction]]
def getReactionsForMessage(channelId: String, timestamp: String, full: Option[Boolean])(implicit system: ActorSystem): Future[Seq[Reaction]]
def getTeamAccessLogs(count: Option[Int], page: Option[Int])(implicit system: ActorSystem): Future[JsValue]

Attributes

def getTeamInfo()(implicit system: ActorSystem): Future[JsValue]
def getUserInfo(userId: String)(implicit system: ActorSystem): Future[User]
def getUserPresence(userId: String)(implicit system: ActorSystem): Future[String]

Attributes

def inviteToChannel(channelId: String, userId: String)(implicit system: ActorSystem): Future[Channel]
def inviteToGroup(channelId: String, userId: String)(implicit system: ActorSystem): Future[Group]
def joinChannel(channelId: String)(implicit system: ActorSystem): Future[Channel]
def kickFromChannel(channelId: String, userId: String)(implicit system: ActorSystem): Future[Boolean]
def kickFromGroup(channelId: String, userId: String)(implicit system: ActorSystem): Future[Boolean]
def leaveChannel(channelId: String)(implicit system: ActorSystem): Future[Boolean]
def leaveGroup(channelId: String)(implicit system: ActorSystem): Future[Boolean]
def listConversations(channelTypes: Seq[ConversationType], excludeArchived: Int)(implicit system: ActorSystem): Future[Seq[Channel]]
def listEmojis()(implicit system: ActorSystem): Future[Map[String, String]]

Attributes

def listFiles(userId: Option[String], tsFrom: Option[String], tsTo: Option[String], types: Option[Seq[String]], count: Option[Int], page: Option[Int])(implicit system: ActorSystem): Future[FilesResponse]
def listGroups(excludeArchived: Int)(implicit system: ActorSystem): Future[Seq[Group]]
def listIms()(implicit system: ActorSystem): Future[Seq[Im]]
def listMpims()(implicit system: ActorSystem): Future[Seq[Group]]
def listReactionsForUser(userId: Option[String], full: Boolean, count: Option[Int], page: Option[Int])(implicit system: ActorSystem): Future[ReactionsResponse]
def listStars(userId: Option[String], count: Option[Int], page: Option[Int])(implicit system: ActorSystem): Future[JsValue]

Attributes

def listUsers()(implicit system: ActorSystem): Future[Seq[User]]
def lookupUserByEmail(emailId: String)(implicit system: ActorSystem): Future[User]
def markChannel(channelId: String, ts: String)(implicit system: ActorSystem): Future[Boolean]
def markGroup(channelId: String, ts: String)(implicit system: ActorSystem): Future[Boolean]
def markIm(channelId: String, ts: String)(implicit system: ActorSystem): Future[Boolean]
def markMpim(channelId: String, ts: String)(implicit system: ActorSystem): Future[Boolean]
def openDialog(triggerId: String, dialog: Dialog)(implicit system: ActorSystem): Future[Boolean]

Attributes

def openGroup(channelId: String)(implicit system: ActorSystem): Future[Boolean]
def openIm(userId: String)(implicit system: ActorSystem): Future[String]
def openMpim(userIds: Seq[String])(implicit system: ActorSystem): Future[String]

Attributes

def postChatEphemeral(channelId: String, text: String, user: String, asUser: Option[Boolean], parse: Option[String], attachments: Option[Seq[Attachment]], blocks: Option[Seq[Block]], linkNames: Option[Boolean])(implicit system: ActorSystem): Future[String]
def postChatMessage(channelId: String, text: String, username: Option[String], asUser: Option[Boolean], parse: Option[String], linkNames: Option[String], attachments: Option[Seq[Attachment]], blocks: Option[Seq[Block]], unfurlLinks: Option[Boolean], unfurlMedia: Option[Boolean], iconUrl: Option[String], iconEmoji: Option[String], replaceOriginal: Option[Boolean], deleteOriginal: Option[Boolean], threadTs: Option[String], replyBroadcast: Option[Boolean])(implicit system: ActorSystem): Future[String]
def removeReaction(emojiName: String, file: Option[String], fileComment: Option[String], channelId: Option[String], timestamp: Option[String])(implicit system: ActorSystem): Future[Boolean]
def removeReactionFromMessage(emojiName: String, channelId: String, timestamp: String)(implicit system: ActorSystem): Future[Boolean]
def renameChannel(channelId: String, name: String)(implicit system: ActorSystem): Future[Boolean]
def renameGroup(channelId: String, name: String)(implicit system: ActorSystem): Future[Boolean]
def searchAll(query: String, sort: Option[String], sortDir: Option[String], highlight: Option[String], count: Option[Int], page: Option[Int])(implicit system: ActorSystem): Future[JsValue]

Attributes

def searchFiles(query: String, sort: Option[String], sortDir: Option[String], highlight: Option[String], count: Option[Int], page: Option[Int])(implicit system: ActorSystem): Future[JsValue]
def searchMessages(query: String, sort: Option[String], sortDir: Option[String], highlight: Option[String], count: Option[Int], page: Option[Int])(implicit system: ActorSystem): Future[JsValue]
def setChannelPurpose(channelId: String, purpose: String)(implicit system: ActorSystem): Future[String]
def setChannelTopic(channelId: String, topic: String)(implicit system: ActorSystem): Future[String]
def setConversationTopic(channelId: String, topic: String)(implicit system: ActorSystem): Future[Boolean]
def setGroupPurpose(channelId: String, purpose: String)(implicit system: ActorSystem): Future[String]
def setGroupTopic(channelId: String, topic: String)(implicit system: ActorSystem): Future[String]
def setUserActive(userId: String)(implicit system: ActorSystem): Future[Boolean]
def setUserPresence(presence: String)(implicit system: ActorSystem): Future[Boolean]
def startRealTimeMessageSession()(implicit system: ActorSystem): Future[RtmConnectState]

Attributes

def test()(implicit system: ActorSystem): Future[Boolean]

Attributes

def testAuth()(implicit system: ActorSystem): Future[AuthIdentity]
def unarchiveChannel(channelId: String)(implicit system: ActorSystem): Future[Boolean]
def unarchiveGroup(channelId: String)(implicit system: ActorSystem): Future[Boolean]
def updateChatMessage(channelId: String, ts: String, text: String, attachments: Option[Seq[Attachment]], blocks: Option[Seq[Block]], parse: Option[String], linkNames: Option[String], asUser: Option[Boolean], threadTs: Option[String])(implicit system: ActorSystem): Future[UpdateResponse]
def uploadFile(content: Either[File, Array[Byte]], filetype: Option[String], filename: Option[String], title: Option[String], initialComment: Option[String], channels: Option[Seq[String]], thread_ts: Option[String])(implicit system: ActorSystem): Future[SlackFile]

Deprecated methods

def listChannels(excludeArchived: Boolean)(implicit system: ActorSystem): Future[Seq[Channel]]

Attributes

Deprecated
true