Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Instances
FromJSON Cursor Source # | |
ToJSON Cursor Source # | |
Defined in Web.Slack.Pager.Types | |
Generic Cursor Source # | |
Show Cursor Source # | |
NFData Cursor Source # | |
Defined in Web.Slack.Pager.Types | |
Eq Cursor Source # | |
Hashable Cursor Source # | |
Defined in Web.Slack.Pager.Types | |
ToHttpApiData Cursor Source # | |
Defined in Web.Slack.Pager.Types toUrlPiece :: Cursor -> Text # toEncodedUrlPiece :: Cursor -> Builder # toHeader :: Cursor -> ByteString # toQueryParam :: Cursor -> Text # | |
type Rep Cursor Source # | |
Defined in Web.Slack.Pager.Types |
newtype ResponseMetadata Source #
Instances
class PagedRequest a where Source #
Instances
PagedRequest HistoryReq Source # | |
Defined in Web.Slack.Conversation setCursor :: Maybe Cursor -> HistoryReq -> HistoryReq Source # | |
PagedRequest ListReq Source # | |
PagedRequest RepliesReq Source # | |
Defined in Web.Slack.Conversation setCursor :: Maybe Cursor -> RepliesReq -> RepliesReq Source # | |
PagedRequest UsersConversationsRequest Source # | |
Defined in Web.Slack.UsersConversations |
class PagedResponse a where Source #
type ResponseObject a Source #
getResponseMetadata :: a -> Maybe ResponseMetadata Source #
getResponseData :: a -> [ResponseObject a] Source #
Instances
PagedResponse HistoryRsp Source # | |
Defined in Web.Slack.Conversation type ResponseObject HistoryRsp Source # | |
PagedResponse ListRsp Source # | |
Defined in Web.Slack.Conversation type ResponseObject ListRsp Source # | |
PagedResponse UsersConversationsResponse Source # | |