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