Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ChannelMessageSummary = ChannelMessageSummary' {
- status :: Maybe ChannelMessageStatusStructure
- sender :: Maybe Identity
- content :: Maybe (Sensitive Text)
- redacted :: Maybe Bool
- metadata :: Maybe (Sensitive Text)
- type' :: Maybe ChannelMessageType
- createdTimestamp :: Maybe POSIX
- messageId :: Maybe Text
- lastUpdatedTimestamp :: Maybe POSIX
- lastEditedTimestamp :: Maybe POSIX
- newChannelMessageSummary :: ChannelMessageSummary
- channelMessageSummary_status :: Lens' ChannelMessageSummary (Maybe ChannelMessageStatusStructure)
- channelMessageSummary_sender :: Lens' ChannelMessageSummary (Maybe Identity)
- channelMessageSummary_content :: Lens' ChannelMessageSummary (Maybe Text)
- channelMessageSummary_redacted :: Lens' ChannelMessageSummary (Maybe Bool)
- channelMessageSummary_metadata :: Lens' ChannelMessageSummary (Maybe Text)
- channelMessageSummary_type :: Lens' ChannelMessageSummary (Maybe ChannelMessageType)
- channelMessageSummary_createdTimestamp :: Lens' ChannelMessageSummary (Maybe UTCTime)
- channelMessageSummary_messageId :: Lens' ChannelMessageSummary (Maybe Text)
- channelMessageSummary_lastUpdatedTimestamp :: Lens' ChannelMessageSummary (Maybe UTCTime)
- channelMessageSummary_lastEditedTimestamp :: Lens' ChannelMessageSummary (Maybe UTCTime)
Documentation
data ChannelMessageSummary Source #
Summary of the messages in a Channel
.
See: newChannelMessageSummary
smart constructor.
ChannelMessageSummary' | |
|
Instances
newChannelMessageSummary :: ChannelMessageSummary Source #
Create a value of ChannelMessageSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ChannelMessageSummary'
, channelMessageSummary_status
- The message status. The status value is SENT
for messages sent to a
channel without a channel flow. For channels associated with channel
flow, the value determines the processing stage.
$sel:sender:ChannelMessageSummary'
, channelMessageSummary_sender
- The message sender.
$sel:content:ChannelMessageSummary'
, channelMessageSummary_content
- The content of the message.
$sel:redacted:ChannelMessageSummary'
, channelMessageSummary_redacted
- Indicates whether a message was redacted.
$sel:metadata:ChannelMessageSummary'
, channelMessageSummary_metadata
- The metadata of the message.
$sel:type':ChannelMessageSummary'
, channelMessageSummary_type
- The type of message.
$sel:createdTimestamp:ChannelMessageSummary'
, channelMessageSummary_createdTimestamp
- The time at which the message summary was created.
$sel:messageId:ChannelMessageSummary'
, channelMessageSummary_messageId
- The ID of the message.
$sel:lastUpdatedTimestamp:ChannelMessageSummary'
, channelMessageSummary_lastUpdatedTimestamp
- The time at which a message was last updated.
$sel:lastEditedTimestamp:ChannelMessageSummary'
, channelMessageSummary_lastEditedTimestamp
- The time at which a message was last edited.
channelMessageSummary_status :: Lens' ChannelMessageSummary (Maybe ChannelMessageStatusStructure) Source #
The message status. The status value is SENT
for messages sent to a
channel without a channel flow. For channels associated with channel
flow, the value determines the processing stage.
channelMessageSummary_sender :: Lens' ChannelMessageSummary (Maybe Identity) Source #
The message sender.
channelMessageSummary_content :: Lens' ChannelMessageSummary (Maybe Text) Source #
The content of the message.
channelMessageSummary_redacted :: Lens' ChannelMessageSummary (Maybe Bool) Source #
Indicates whether a message was redacted.
channelMessageSummary_metadata :: Lens' ChannelMessageSummary (Maybe Text) Source #
The metadata of the message.
channelMessageSummary_type :: Lens' ChannelMessageSummary (Maybe ChannelMessageType) Source #
The type of message.
channelMessageSummary_createdTimestamp :: Lens' ChannelMessageSummary (Maybe UTCTime) Source #
The time at which the message summary was created.
channelMessageSummary_messageId :: Lens' ChannelMessageSummary (Maybe Text) Source #
The ID of the message.
channelMessageSummary_lastUpdatedTimestamp :: Lens' ChannelMessageSummary (Maybe UTCTime) Source #
The time at which a message was last updated.
channelMessageSummary_lastEditedTimestamp :: Lens' ChannelMessageSummary (Maybe UTCTime) Source #
The time at which a message was last edited.