Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
Instances
data PostMsgReq Source #
Instances
mkPostMsgReq :: Text -> Text -> PostMsgReq Source #
data PostMsgRsp Source #
Instances
UpdateReq | |
|
Instances
mkUpdateReq :: ConversationId -> Text -> UpdateReq Source #
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-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)))) |