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 GenericAttachment = GenericAttachment' {}
- newGenericAttachment :: GenericAttachment
- genericAttachment_buttons :: Lens' GenericAttachment (Maybe [Button])
- genericAttachment_subTitle :: Lens' GenericAttachment (Maybe Text)
- genericAttachment_imageUrl :: Lens' GenericAttachment (Maybe Text)
- genericAttachment_attachmentLinkUrl :: Lens' GenericAttachment (Maybe Text)
- genericAttachment_title :: Lens' GenericAttachment (Maybe Text)
Documentation
data GenericAttachment Source #
Represents an option rendered to the user when a prompt is shown. It could be an image, a button, a link, or text.
See: newGenericAttachment
smart constructor.
GenericAttachment' | |
|
Instances
newGenericAttachment :: GenericAttachment Source #
Create a value of GenericAttachment
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:buttons:GenericAttachment'
, genericAttachment_buttons
- The list of options to show to the user.
$sel:subTitle:GenericAttachment'
, genericAttachment_subTitle
- The subtitle shown below the title.
$sel:imageUrl:GenericAttachment'
, genericAttachment_imageUrl
- The URL of an image that is displayed to the user.
$sel:attachmentLinkUrl:GenericAttachment'
, genericAttachment_attachmentLinkUrl
- The URL of an attachment to the response card.
$sel:title:GenericAttachment'
, genericAttachment_title
- The title of the option.
genericAttachment_buttons :: Lens' GenericAttachment (Maybe [Button]) Source #
The list of options to show to the user.
genericAttachment_subTitle :: Lens' GenericAttachment (Maybe Text) Source #
The subtitle shown below the title.
genericAttachment_imageUrl :: Lens' GenericAttachment (Maybe Text) Source #
The URL of an image that is displayed to the user.
genericAttachment_attachmentLinkUrl :: Lens' GenericAttachment (Maybe Text) Source #
The URL of an attachment to the response card.
genericAttachment_title :: Lens' GenericAttachment (Maybe Text) Source #
The title of the option.