Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Conversation
- newtype ConversationId = ConversationId {}
- data ConversationType
- data ChannelConversation = ChannelConversation {
- channelId :: ConversationId
- channelName :: Text
- channelCreated :: Integer
- channelIsArchived :: Bool
- channelIsGeneral :: Bool
- channelUnlinked :: Integer
- channelNameNormalized :: Text
- channelIsShared :: Bool
- channelCreator :: UserId
- channelIsExtShared :: Bool
- channelIsOrgShared :: Bool
- channelSharedTeamIds :: Maybe [TeamId]
- channelIsPendingExtShared :: Bool
- channelIsMember :: Maybe Bool
- channelTopic :: Topic
- channelPurpose :: Purpose
- channelPreviousNames :: [Text]
- channelNumMembers :: Maybe Integer
- data GroupConversation = GroupConversation {
- groupId :: ConversationId
- groupName :: Text
- groupCreated :: Integer
- groupIsArchived :: Bool
- groupIsGeneral :: Bool
- groupUnlinked :: Integer
- groupNameNormalized :: Text
- groupIsShared :: Bool
- groupCreator :: UserId
- groupIsExtShared :: Bool
- groupIsOrgShared :: Bool
- groupSharedTeamIds :: [TeamId]
- groupIsPendingExtShared :: Bool
- groupIsMember :: Bool
- groupIsPrivate :: Bool
- groupIsMpim :: Bool
- groupLastRead :: SlackTimestamp
- groupIsOpen :: Bool
- groupTopic :: Topic
- groupPurpose :: Purpose
- groupPriority :: Scientific
- data ImConversation = ImConversation {}
- newtype TeamId = TeamId {}
- data Purpose = Purpose {}
- data Topic = Topic {}
- data ListReq = ListReq {}
- mkListReq :: ListReq
- data ListRsp = ListRsp {}
- data HistoryReq = HistoryReq {}
- mkHistoryReq :: ConversationId -> HistoryReq
- data HistoryRsp = HistoryRsp {}
- data RepliesReq = RepliesReq {}
- mkRepliesReq :: ConversationId -> SlackTimestamp -> RepliesReq
- newtype ResponseMetadata = ResponseMetadata {}
Documentation
data Conversation Source #
Instances
newtype ConversationId Source #
Common identifier for every type of Conversation
.
Unique to the team which the conversation belongs to.
Ord to allow it to be a key of a Map
Instances
data ConversationType Source #
Instances
data ChannelConversation Source #
Conversation object representing a public channel, which any people in the team can join in and see.
ChannelConversation | |
|
Instances
data GroupConversation Source #
Conversation object representing a private channel or _a multi-party instant message (mpim)*, which only invited people in the team can join in and see.
GroupConversation | |
|
Instances
data ImConversation Source #
Conversation object representing a (single-party) instance message, where only two people talk.
ImConversation | |
|
Instances
Instances
FromJSON TeamId Source # | |
ToJSON TeamId Source # | |
Defined in Web.Slack.Types | |
Generic TeamId Source # | |
Show TeamId Source # | |
NFData TeamId Source # | |
Defined in Web.Slack.Types | |
Eq TeamId Source # | |
Ord TeamId Source # | |
Hashable TeamId Source # | |
Defined in Web.Slack.Types | |
ToHttpApiData TeamId Source # | |
Defined in Web.Slack.Types toUrlPiece :: TeamId -> Text # toEncodedUrlPiece :: TeamId -> Builder # toHeader :: TeamId -> ByteString # toQueryParam :: TeamId -> Text # | |
type Rep TeamId Source # | |
Defined in Web.Slack.Types |
Instances
FromJSON Purpose Source # | |
ToJSON Purpose Source # | |
Defined in Web.Slack.Conversation | |
Generic Purpose Source # | |
Show Purpose Source # | |
NFData Purpose Source # | |
Defined in Web.Slack.Conversation | |
Eq Purpose Source # | |
type Rep Purpose Source # | |
Defined in Web.Slack.Conversation type Rep Purpose = D1 ('MetaData "Purpose" "Web.Slack.Conversation" "slack-web-1.6.1.0-FTQ0nauOsvHFn0u85EClLm" 'False) (C1 ('MetaCons "Purpose" 'PrefixI 'True) (S1 ('MetaSel ('Just "purposeValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "purposeCreator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "purposeLastSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))) |
Topic | |
|
Instances
FromJSON Topic Source # | |
ToJSON Topic Source # | |
Defined in Web.Slack.Conversation | |
Generic Topic Source # | |
Show Topic Source # | |
NFData Topic Source # | |
Defined in Web.Slack.Conversation | |
Eq Topic Source # | |
type Rep Topic Source # | |
Defined in Web.Slack.Conversation type Rep Topic = D1 ('MetaData "Topic" "Web.Slack.Conversation" "slack-web-1.6.1.0-FTQ0nauOsvHFn0u85EClLm" 'False) (C1 ('MetaCons "Topic" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "topicCreator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "topicLastSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))) |
Instances
Instances
FromJSON ListRsp Source # | |
Generic ListRsp Source # | |
Show ListRsp Source # | |
NFData ListRsp Source # | |
Defined in Web.Slack.Conversation | |
Eq ListRsp Source # | |
PagedResponse ListRsp Source # | |
Defined in Web.Slack.Conversation type ResponseObject ListRsp Source # | |
type Rep ListRsp Source # | |
Defined in Web.Slack.Conversation type Rep ListRsp = D1 ('MetaData "ListRsp" "Web.Slack.Conversation" "slack-web-1.6.1.0-FTQ0nauOsvHFn0u85EClLm" 'False) (C1 ('MetaCons "ListRsp" 'PrefixI 'True) (S1 ('MetaSel ('Just "listRspChannels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Conversation]) :*: S1 ('MetaSel ('Just "listRspResponseMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResponseMetadata)))) | |
type ResponseObject ListRsp Source # | |
Defined in Web.Slack.Conversation |
data HistoryReq Source #
Instances
data HistoryRsp Source #
Instances
data RepliesReq Source #
Instances
newtype ResponseMetadata Source #