| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Web.Slack.Conversation
Description
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 #
Constructors
| Channel ChannelConversation | |
| Group GroupConversation | |
| Im ImConversation |
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
Constructors
| ConversationId | |
Fields | |
Instances
data ConversationType Source #
Constructors
| PublicChannelType | |
| PrivateChannelType | |
| MpimType | |
| ImType |
Instances
data ChannelConversation Source #
Conversation object representing a public channel, which any people in the team can join in and see.
Constructors
| ChannelConversation | |
Fields
| |
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.
Constructors
| GroupConversation | |
Fields
| |
Instances
data ImConversation Source #
Conversation object representing a (single-party) instance message, where only two people talk.
Constructors
| ImConversation | |
Fields
| |
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 Methods toUrlPiece :: TeamId -> Text # toEncodedUrlPiece :: TeamId -> Builder # toHeader :: TeamId -> ByteString # toQueryParam :: TeamId -> Text # toEncodedQueryParam :: TeamId -> Builder # | |
| type Rep TeamId Source # | |
Defined in Web.Slack.Types | |
Constructors
| Purpose | |
Fields
| |
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-2.0.1.0-JI08eViYuhzBizG5BueO5Q" '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)))) | |
Constructors
| Topic | |
Fields
| |
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-2.0.1.0-JI08eViYuhzBizG5BueO5Q" '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)))) | |
Constructors
| ListReq | |
Fields | |
Instances
Constructors
| ListRsp | |
Fields | |
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 Associated Types type ResponseObject ListRsp Source # Methods getResponseMetadata :: ListRsp -> Maybe ResponseMetadata Source # getResponseData :: ListRsp -> [ResponseObject ListRsp] Source # | |
| type Rep ListRsp Source # | |
Defined in Web.Slack.Conversation type Rep ListRsp = D1 ('MetaData "ListRsp" "Web.Slack.Conversation" "slack-web-2.0.1.0-JI08eViYuhzBizG5BueO5Q" '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 #
Constructors
| HistoryReq | |
Instances
data HistoryRsp Source #
Constructors
| HistoryRsp | |
Fields | |
Instances
data RepliesReq Source #
Constructors
| RepliesReq | |
Instances
newtype ResponseMetadata Source #
Constructors
| ResponseMetadata | |
Fields | |