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

Safe HaskellNone
LanguageHaskell2010

Web.Slack.Chat

Description

 

Documentation

data PostMsg Source #

Instances

Eq PostMsg Source # 

Methods

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

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

Show PostMsg Source # 
Generic PostMsg Source # 

Associated Types

type Rep PostMsg :: * -> * #

Methods

from :: PostMsg -> Rep PostMsg x #

to :: Rep PostMsg x -> PostMsg #

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

data PostMsgReq Source #

Instances

Eq PostMsgReq Source # 
Show PostMsgReq Source # 
Generic PostMsgReq Source # 

Associated Types

type Rep PostMsgReq :: * -> * #

ToJSON PostMsgReq Source # 
FromJSON PostMsgReq Source # 
ToForm PostMsgReq Source # 

Methods

toForm :: PostMsgReq -> Form #

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