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 PushNotificationConfiguration = PushNotificationConfiguration' {}
- newPushNotificationConfiguration :: PushNotificationConfiguration
- pushNotificationConfiguration_body :: Lens' PushNotificationConfiguration (Maybe Text)
- pushNotificationConfiguration_title :: Lens' PushNotificationConfiguration (Maybe Text)
- pushNotificationConfiguration_type :: Lens' PushNotificationConfiguration (Maybe PushNotificationType)
Documentation
data PushNotificationConfiguration Source #
The push notification configuration of the message.
See: newPushNotificationConfiguration
smart constructor.
PushNotificationConfiguration' | |
|
Instances
newPushNotificationConfiguration :: PushNotificationConfiguration Source #
Create a value of PushNotificationConfiguration
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:body:PushNotificationConfiguration'
, pushNotificationConfiguration_body
- The body of the push notification.
$sel:title:PushNotificationConfiguration'
, pushNotificationConfiguration_title
- The title of the push notification.
$sel:type':PushNotificationConfiguration'
, pushNotificationConfiguration_type
- Enum value that indicates the type of the push notification for a
message. DEFAULT
: Normal mobile push notification. VOIP
: VOIP mobile
push notification.
pushNotificationConfiguration_body :: Lens' PushNotificationConfiguration (Maybe Text) Source #
The body of the push notification.
pushNotificationConfiguration_title :: Lens' PushNotificationConfiguration (Maybe Text) Source #
The title of the push notification.
pushNotificationConfiguration_type :: Lens' PushNotificationConfiguration (Maybe PushNotificationType) Source #
Enum value that indicates the type of the push notification for a
message. DEFAULT
: Normal mobile push notification. VOIP
: VOIP mobile
push notification.