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 InAppMessageContent = InAppMessageContent' {}
- newInAppMessageContent :: InAppMessageContent
- inAppMessageContent_primaryBtn :: Lens' InAppMessageContent (Maybe InAppMessageButton)
- inAppMessageContent_bodyConfig :: Lens' InAppMessageContent (Maybe InAppMessageBodyConfig)
- inAppMessageContent_backgroundColor :: Lens' InAppMessageContent (Maybe Text)
- inAppMessageContent_imageUrl :: Lens' InAppMessageContent (Maybe Text)
- inAppMessageContent_secondaryBtn :: Lens' InAppMessageContent (Maybe InAppMessageButton)
- inAppMessageContent_headerConfig :: Lens' InAppMessageContent (Maybe InAppMessageHeaderConfig)
Documentation
data InAppMessageContent Source #
The configuration for the message content.
See: newInAppMessageContent
smart constructor.
InAppMessageContent' | |
|
Instances
newInAppMessageContent :: InAppMessageContent Source #
Create a value of InAppMessageContent
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:primaryBtn:InAppMessageContent'
, inAppMessageContent_primaryBtn
- The first button inside the message.
$sel:bodyConfig:InAppMessageContent'
, inAppMessageContent_bodyConfig
- The configuration for the message body.
$sel:backgroundColor:InAppMessageContent'
, inAppMessageContent_backgroundColor
- The background color for the message.
$sel:imageUrl:InAppMessageContent'
, inAppMessageContent_imageUrl
- The image url for the background of message.
$sel:secondaryBtn:InAppMessageContent'
, inAppMessageContent_secondaryBtn
- The second button inside message.
$sel:headerConfig:InAppMessageContent'
, inAppMessageContent_headerConfig
- The configuration for the message header.
inAppMessageContent_primaryBtn :: Lens' InAppMessageContent (Maybe InAppMessageButton) Source #
The first button inside the message.
inAppMessageContent_bodyConfig :: Lens' InAppMessageContent (Maybe InAppMessageBodyConfig) Source #
The configuration for the message body.
inAppMessageContent_backgroundColor :: Lens' InAppMessageContent (Maybe Text) Source #
The background color for the message.
inAppMessageContent_imageUrl :: Lens' InAppMessageContent (Maybe Text) Source #
The image url for the background of message.
inAppMessageContent_secondaryBtn :: Lens' InAppMessageContent (Maybe InAppMessageButton) Source #
The second button inside message.
inAppMessageContent_headerConfig :: Lens' InAppMessageContent (Maybe InAppMessageHeaderConfig) Source #
The configuration for the message header.