slack-web-1.5.0.0: Bindings for the Slack web API
Safe HaskellSafe-Inferred
LanguageHaskell2010

Web.Slack.Chat

Synopsis

Documentation

data PostMsg Source #

Instances

Instances details
FromJSON PostMsg Source # 
Instance details

Defined in Web.Slack.Chat

ToJSON 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 #

Show PostMsg Source # 
Instance details

Defined in Web.Slack.Chat

NFData PostMsg Source # 
Instance details

Defined in Web.Slack.Chat

Methods

rnf :: PostMsg -> () #

Eq PostMsg Source # 
Instance details

Defined in Web.Slack.Chat

Methods

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

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

type Rep PostMsg Source # 
Instance details

Defined in Web.Slack.Chat

type Rep PostMsg = D1 ('MetaData "PostMsg" "Web.Slack.Chat" "slack-web-1.5.0.0-JuKKPWQb8GZ9iOuMskKzDQ" '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

Instances details
FromJSON PostMsgReq Source # 
Instance details

Defined in Web.Slack.Chat

ToJSON 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 #

Show PostMsgReq Source # 
Instance details

Defined in Web.Slack.Chat

NFData PostMsgReq Source # 
Instance details

Defined in Web.Slack.Chat

Methods

rnf :: PostMsgReq -> () #

Eq 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-1.5.0.0-JuKKPWQb8GZ9iOuMskKzDQ" 'False) (C1 ('MetaCons "PostMsgReq" 'PrefixI 'True) (((S1 ('MetaSel ('Just "postMsgReqChannel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "postMsgReqText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe 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 "postMsgReqBlocks") '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

Instances details
FromJSON 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 #

Show PostMsgRsp Source # 
Instance details

Defined in Web.Slack.Chat

NFData PostMsgRsp Source # 
Instance details

Defined in Web.Slack.Chat

Methods

rnf :: PostMsgRsp -> () #

Eq 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-1.5.0.0-JuKKPWQb8GZ9iOuMskKzDQ" 'False) (C1 ('MetaCons "PostMsgRsp" 'PrefixI 'True) (S1 ('MetaSel ('Just "postMsgRspTs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "postMsgRspMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PostMsg)))

data UpdateReq Source #

Constructors

UpdateReq 

Fields

Instances

Instances details
Generic UpdateReq Source # 
Instance details

Defined in Web.Slack.Chat

Associated Types

type Rep UpdateReq :: Type -> Type #

Show UpdateReq Source # 
Instance details

Defined in Web.Slack.Chat

Eq UpdateReq Source # 
Instance details

Defined in Web.Slack.Chat

ToForm UpdateReq Source # 
Instance details

Defined in Web.Slack.Chat

Methods

toForm :: UpdateReq -> Form #

type Rep UpdateReq Source # 
Instance details

Defined in Web.Slack.Chat

type Rep UpdateReq = D1 ('MetaData "UpdateReq" "Web.Slack.Chat" "slack-web-1.5.0.0-JuKKPWQb8GZ9iOuMskKzDQ" 'False) (C1 ('MetaCons "UpdateReq" 'PrefixI 'True) (((S1 ('MetaSel ('Just "updateReqChannel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConversationId) :*: S1 ('MetaSel ('Just "updateReqTs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "updateReqAsUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "updateReqAttachments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "updateReqLinkNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "updateReqMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "updateReqParse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "updateReqReplyBroadcast") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "updateReqText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))))

data UpdateRsp Source #

Instances

Instances details
FromJSON UpdateRsp Source # 
Instance details

Defined in Web.Slack.Chat

Generic UpdateRsp Source # 
Instance details

Defined in Web.Slack.Chat

Associated Types

type Rep UpdateRsp :: Type -> Type #

Show UpdateRsp Source # 
Instance details

Defined in Web.Slack.Chat

Eq UpdateRsp Source # 
Instance details

Defined in Web.Slack.Chat

type Rep UpdateRsp Source # 
Instance details

Defined in Web.Slack.Chat

type Rep UpdateRsp = D1 ('MetaData "UpdateRsp" "Web.Slack.Chat" "slack-web-1.5.0.0-JuKKPWQb8GZ9iOuMskKzDQ" 'False) (C1 ('MetaCons "UpdateRsp" 'PrefixI 'True) (S1 ('MetaSel ('Just "updateRspChannel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConversationId) :*: (S1 ('MetaSel ('Just "updateRspTs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateRspText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))