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

Safe HaskellNone
LanguageHaskell2010

Web.Slack.Chat

Description

 
Synopsis

Documentation

data PostMsg Source #

Instances
Eq PostMsg Source # 
Instance details

Defined in Web.Slack.Chat

Methods

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

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

Show PostMsg Source # 
Instance details

Defined in Web.Slack.Chat

Generic PostMsg Source # 
Instance details

Defined in Web.Slack.Chat

Associated Types

type Rep PostMsg :: Type -> Type #

Methods

from :: PostMsg -> Rep PostMsg x #

to :: Rep PostMsg x -> PostMsg #

ToJSON PostMsg Source # 
Instance details

Defined in Web.Slack.Chat

FromJSON PostMsg Source # 
Instance details

Defined in Web.Slack.Chat

type Rep PostMsg Source # 
Instance details

Defined in Web.Slack.Chat

type Rep PostMsg = D1 (MetaData "PostMsg" "Web.Slack.Chat" "slack-web-0.2.0.9-7QvndQw9IfxMI407mdiak" False) (C1 (MetaCons "PostMsg" PrefixI True) (((S1 (MetaSel (Just "postMsgText") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "postMsgParse") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "postMsgLinkNames") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "postMsgAttachments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "postMsgUnfurlLinks") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "postMsgUnfurlMedia") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "postMsgUsername") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "postMsgAsUser") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "postMsgIconUrl") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "postMsgIconEmoji") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "postMsgThreadTs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "postMsgReplyBroadcast") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)))))))

data PostMsgReq Source #

 
Instances
Eq PostMsgReq Source # 
Instance details

Defined in Web.Slack.Chat

Show PostMsgReq Source # 
Instance details

Defined in Web.Slack.Chat

Generic PostMsgReq Source # 
Instance details

Defined in Web.Slack.Chat

Associated Types

type Rep PostMsgReq :: Type -> Type #

ToJSON PostMsgReq Source # 
Instance details

Defined in Web.Slack.Chat

FromJSON PostMsgReq Source # 
Instance details

Defined in Web.Slack.Chat

ToForm PostMsgReq Source # 
Instance details

Defined in Web.Slack.Chat

Methods

toForm :: PostMsgReq -> Form #

type Rep PostMsgReq Source # 
Instance details

Defined in Web.Slack.Chat

type Rep PostMsgReq = D1 (MetaData "PostMsgReq" "Web.Slack.Chat" "slack-web-0.2.0.9-7QvndQw9IfxMI407mdiak" False) (C1 (MetaCons "PostMsgReq" PrefixI True) (((S1 (MetaSel (Just "postMsgReqChannel") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "postMsgReqText") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "postMsgReqParse") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "postMsgReqLinkNames") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "postMsgReqAttachments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "postMsgReqUnfurlLinks") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "postMsgReqUnfurlMedia") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "postMsgReqUsername") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "postMsgReqAsUser") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "postMsgReqIconUrl") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "postMsgReqIconEmoji") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "postMsgReqThreadTs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "postMsgReqReplyBroadcast") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)))))))

data PostMsgRsp Source #

 
Instances
Eq PostMsgRsp Source # 
Instance details

Defined in Web.Slack.Chat

Show PostMsgRsp Source # 
Instance details

Defined in Web.Slack.Chat

Generic PostMsgRsp Source # 
Instance details

Defined in Web.Slack.Chat

Associated Types

type Rep PostMsgRsp :: Type -> Type #

FromJSON PostMsgRsp Source # 
Instance details

Defined in Web.Slack.Chat

type Rep PostMsgRsp Source # 
Instance details

Defined in Web.Slack.Chat

type Rep PostMsgRsp = D1 (MetaData "PostMsgRsp" "Web.Slack.Chat" "slack-web-0.2.0.9-7QvndQw9IfxMI407mdiak" False) (C1 (MetaCons "PostMsgRsp" PrefixI True) (S1 (MetaSel (Just "postMsgRspTs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "postMsgRspMessage") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostMsg)))