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' {}
- newChannelMessageSummary :: ChannelMessageSummary
- 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: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_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.