slack-0.1.0.0: Haskell API for interacting with Slack

Safe HaskellNone
LanguageHaskell2010

Network.Slack.User

Synopsis

Documentation

data User Source

A Slack User

Constructors

User 

Fields

userId :: String
 
userName :: String
 

users :: Slack [User] Source

Gets the list of users associated with the Slack team

userFromId :: String -> Slack User Source

Converts a user ID to a user object, signaling an error if there's no such user ID

userFromName :: String -> Slack User Source

Converts a user name to a user object, signaling an error if there's no such user name