slack-web-0.2.0.4: Bindings for the Slack web API

Safe HaskellNone
LanguageHaskell2010

Web.Slack.Common

Description

 

Synopsis

Documentation

data Color #

Instances

Eq Color # 

Methods

(==) :: Color -> Color -> Bool #

(/=) :: Color -> Color -> Bool #

Ord Color # 

Methods

compare :: Color -> Color -> Ordering #

(<) :: Color -> Color -> Bool #

(<=) :: Color -> Color -> Bool #

(>) :: Color -> Color -> Bool #

(>=) :: Color -> Color -> Bool #

max :: Color -> Color -> Color #

min :: Color -> Color -> Color #

Show Color # 

Methods

showsPrec :: Int -> Color -> ShowS #

show :: Color -> String #

showList :: [Color] -> ShowS #

Generic Color # 

Associated Types

type Rep Color :: * -> * #

Methods

from :: Color -> Rep Color x #

to :: Rep Color x -> Color #

FromJSON Color # 
type Rep Color # 
type Rep Color = D1 * (MetaData "Color" "Web.Slack.Types" "slack-web-0.2.0.4-7MCb8pY1n9N7KgCq7RerKY" True) (C1 * (MetaCons "Color" PrefixI True) (S1 * (MetaSel (Just Symbol "unColor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))

data UserId #

Instances

Eq UserId # 

Methods

(==) :: UserId -> UserId -> Bool #

(/=) :: UserId -> UserId -> Bool #

Ord UserId # 
Show UserId # 
Generic UserId # 

Associated Types

type Rep UserId :: * -> * #

Methods

from :: UserId -> Rep UserId x #

to :: Rep UserId x -> UserId #

FromJSON UserId # 
type Rep UserId # 
type Rep UserId = D1 * (MetaData "UserId" "Web.Slack.Types" "slack-web-0.2.0.4-7MCb8pY1n9N7KgCq7RerKY" True) (C1 * (MetaCons "UserId" PrefixI True) (S1 * (MetaSel (Just Symbol "unUserId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))

data HistoryReq #

data HistoryRsp #

Instances

Eq HistoryRsp # 
Show HistoryRsp # 
Generic HistoryRsp # 

Associated Types

type Rep HistoryRsp :: * -> * #

FromJSON HistoryRsp # 
type Rep HistoryRsp # 
type Rep HistoryRsp = D1 * (MetaData "HistoryRsp" "Web.Slack.Common" "slack-web-0.2.0.4-7MCb8pY1n9N7KgCq7RerKY" False) (C1 * (MetaCons "HistoryRsp" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "historyRspMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [Message])) (S1 * (MetaSel (Just Symbol "historyRspHasMore") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Bool))))

data Message #

Constructors

Message 

Fields

newtype SlackMessageText #

Message text in the format returned by Slack, see https://api.slack.com/docs/message-formatting Consider using messageToHtml for displaying.

Constructors

SlackMessageText