Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data MessageMetadata Source #
Contains metadata related to a message.
See: newMessageMetadata
smart constructor.
Instances
newMessageMetadata :: MessageMetadata Source #
Create a value of MessageMetadata
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:messageId:MessageMetadata'
, messageMetadata_messageId
- The identifier of the message that contains the metadata information.
$sel:receipts:MessageMetadata'
, messageMetadata_receipts
- The list of receipt information for a message for different recipients.
messageMetadata_messageId :: Lens' MessageMetadata (Maybe Text) Source #
The identifier of the message that contains the metadata information.
messageMetadata_receipts :: Lens' MessageMetadata (Maybe [Receipt]) Source #
The list of receipt information for a message for different recipients.