Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Web.Slack.Chat
Synopsis
- data PostMsg = PostMsg {
- postMsgText :: Text
- postMsgParse :: Maybe Text
- postMsgLinkNames :: Maybe Bool
- postMsgAttachments :: Maybe Text
- postMsgUnfurlLinks :: Maybe Bool
- postMsgUnfurlMedia :: Maybe Bool
- postMsgUsername :: Maybe Text
- postMsgAsUser :: Maybe Bool
- postMsgIconUrl :: Maybe Text
- postMsgIconEmoji :: Maybe Text
- postMsgThreadTs :: Maybe Text
- postMsgReplyBroadcast :: Maybe Bool
- data PostMsgReq = PostMsgReq {
- postMsgReqChannel :: Text
- postMsgReqText :: Maybe Text
- postMsgReqParse :: Maybe Text
- postMsgReqLinkNames :: Maybe Bool
- postMsgReqAttachments :: Maybe Text
- postMsgReqBlocks :: Maybe Text
- postMsgReqUnfurlLinks :: Maybe Bool
- postMsgReqUnfurlMedia :: Maybe Bool
- postMsgReqUsername :: Maybe Text
- postMsgReqAsUser :: Maybe Bool
- postMsgReqIconUrl :: Maybe Text
- postMsgReqIconEmoji :: Maybe Text
- postMsgReqThreadTs :: Maybe Text
- postMsgReqReplyBroadcast :: Maybe Bool
- mkPostMsgReq :: Text -> Text -> PostMsgReq
- data PostMsgRsp = PostMsgRsp {}
- data UpdateReq = UpdateReq {}
- mkUpdateReq :: ConversationId -> Text -> UpdateReq
- data UpdateRsp = UpdateRsp {}
Documentation
Constructors
PostMsg | |
Fields
|
Instances
data PostMsgReq Source #
Constructors
PostMsgReq | |
Fields
|
Instances
mkPostMsgReq :: Text -> Text -> PostMsgReq Source #
data PostMsgRsp Source #
Constructors
PostMsgRsp | |
Fields |
Instances
FromJSON PostMsgRsp Source # | |
Defined in Web.Slack.Chat | |
Generic PostMsgRsp Source # | |
Defined in Web.Slack.Chat Associated Types type Rep PostMsgRsp :: Type -> Type # | |
Show PostMsgRsp Source # | |
Defined in Web.Slack.Chat Methods showsPrec :: Int -> PostMsgRsp -> ShowS # show :: PostMsgRsp -> String # showList :: [PostMsgRsp] -> ShowS # | |
NFData PostMsgRsp Source # | |
Defined in Web.Slack.Chat Methods rnf :: PostMsgRsp -> () # | |
Eq PostMsgRsp Source # | |
Defined in Web.Slack.Chat | |
type Rep PostMsgRsp Source # | |
Defined in Web.Slack.Chat type Rep PostMsgRsp = D1 ('MetaData "PostMsgRsp" "Web.Slack.Chat" "slack-web-2.0.1.0-JI08eViYuhzBizG5BueO5Q" 'False) (C1 ('MetaCons "PostMsgRsp" 'PrefixI 'True) (S1 ('MetaSel ('Just "postMsgRspTs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "postMsgRspMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PostMsg))) |
Constructors
UpdateReq | |
Fields
|
Instances
mkUpdateReq :: ConversationId -> Text -> UpdateReq Source #
Constructors
UpdateRsp | |
Fields |
Instances
FromJSON UpdateRsp Source # | |
Generic UpdateRsp Source # | |
Show UpdateRsp Source # | |
Eq UpdateRsp Source # | |
type Rep UpdateRsp Source # | |
Defined in Web.Slack.Chat type Rep UpdateRsp = D1 ('MetaData "UpdateRsp" "Web.Slack.Chat" "slack-web-2.0.1.0-JI08eViYuhzBizG5BueO5Q" '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)))) |