slack-api-0.12: Bindings to the Slack RTM API.
Web.Slack.Types.IM
data IM Source #
Constructors
Fields
Instances
Methods
showsPrec :: Int -> IM -> ShowS #
show :: IM -> String #
showList :: [IM] -> ShowS #
parseJSON :: Value -> Parser IM
parseJSONList :: Value -> Parser [IM]
imUser :: Lens' IM UserId Source #
imOpt :: Lens' IM (Maybe ChannelOpt) Source #
imIsOpen :: Lens' IM Bool Source #
imIsIm :: Lens' IM Bool Source #
imId :: Lens' IM IMId Source #
imCreated :: Lens' IM Time Source #
imToChannel :: IMId -> ChannelId Source #
channelToIM :: ChannelId -> IMId Source #