module TD.Data.ChatNotificationSettings
( ChatNotificationSettings(..)
, defaultChatNotificationSettings
) where
import qualified Data.Aeson as A
import qualified Data.Aeson.Types as AT
import qualified TD.Lib.Internal as I
data ChatNotificationSettings
= ChatNotificationSettings
{ ChatNotificationSettings -> Maybe Bool
use_default_mute_for :: Maybe Bool
, ChatNotificationSettings -> Maybe Int
mute_for :: Maybe Int
, ChatNotificationSettings -> Maybe Bool
use_default_sound :: Maybe Bool
, ChatNotificationSettings -> Maybe Int
sound_id :: Maybe Int
, ChatNotificationSettings -> Maybe Bool
use_default_show_preview :: Maybe Bool
, ChatNotificationSettings -> Maybe Bool
show_preview :: Maybe Bool
, ChatNotificationSettings -> Maybe Bool
use_default_mute_stories :: Maybe Bool
, ChatNotificationSettings -> Maybe Bool
mute_stories :: Maybe Bool
, ChatNotificationSettings -> Maybe Bool
use_default_story_sound :: Maybe Bool
, ChatNotificationSettings -> Maybe Int
story_sound_id :: Maybe Int
, ChatNotificationSettings -> Maybe Bool
use_default_show_story_sender :: Maybe Bool
, ChatNotificationSettings -> Maybe Bool
show_story_sender :: Maybe Bool
, ChatNotificationSettings -> Maybe Bool
use_default_disable_pinned_message_notifications :: Maybe Bool
, ChatNotificationSettings -> Maybe Bool
disable_pinned_message_notifications :: Maybe Bool
, ChatNotificationSettings -> Maybe Bool
use_default_disable_mention_notifications :: Maybe Bool
, ChatNotificationSettings -> Maybe Bool
disable_mention_notifications :: Maybe Bool
}
deriving (ChatNotificationSettings -> ChatNotificationSettings -> Bool
(ChatNotificationSettings -> ChatNotificationSettings -> Bool)
-> (ChatNotificationSettings -> ChatNotificationSettings -> Bool)
-> Eq ChatNotificationSettings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ChatNotificationSettings -> ChatNotificationSettings -> Bool
== :: ChatNotificationSettings -> ChatNotificationSettings -> Bool
$c/= :: ChatNotificationSettings -> ChatNotificationSettings -> Bool
/= :: ChatNotificationSettings -> ChatNotificationSettings -> Bool
Eq, Int -> ChatNotificationSettings -> ShowS
[ChatNotificationSettings] -> ShowS
ChatNotificationSettings -> String
(Int -> ChatNotificationSettings -> ShowS)
-> (ChatNotificationSettings -> String)
-> ([ChatNotificationSettings] -> ShowS)
-> Show ChatNotificationSettings
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ChatNotificationSettings -> ShowS
showsPrec :: Int -> ChatNotificationSettings -> ShowS
$cshow :: ChatNotificationSettings -> String
show :: ChatNotificationSettings -> String
$cshowList :: [ChatNotificationSettings] -> ShowS
showList :: [ChatNotificationSettings] -> ShowS
Show)
instance I.ShortShow ChatNotificationSettings where
shortShow :: ChatNotificationSettings -> String
shortShow ChatNotificationSettings
{ use_default_mute_for :: ChatNotificationSettings -> Maybe Bool
use_default_mute_for = Maybe Bool
use_default_mute_for_
, mute_for :: ChatNotificationSettings -> Maybe Int
mute_for = Maybe Int
mute_for_
, use_default_sound :: ChatNotificationSettings -> Maybe Bool
use_default_sound = Maybe Bool
use_default_sound_
, sound_id :: ChatNotificationSettings -> Maybe Int
sound_id = Maybe Int
sound_id_
, use_default_show_preview :: ChatNotificationSettings -> Maybe Bool
use_default_show_preview = Maybe Bool
use_default_show_preview_
, show_preview :: ChatNotificationSettings -> Maybe Bool
show_preview = Maybe Bool
show_preview_
, use_default_mute_stories :: ChatNotificationSettings -> Maybe Bool
use_default_mute_stories = Maybe Bool
use_default_mute_stories_
, mute_stories :: ChatNotificationSettings -> Maybe Bool
mute_stories = Maybe Bool
mute_stories_
, use_default_story_sound :: ChatNotificationSettings -> Maybe Bool
use_default_story_sound = Maybe Bool
use_default_story_sound_
, story_sound_id :: ChatNotificationSettings -> Maybe Int
story_sound_id = Maybe Int
story_sound_id_
, use_default_show_story_sender :: ChatNotificationSettings -> Maybe Bool
use_default_show_story_sender = Maybe Bool
use_default_show_story_sender_
, show_story_sender :: ChatNotificationSettings -> Maybe Bool
show_story_sender = Maybe Bool
show_story_sender_
, use_default_disable_pinned_message_notifications :: ChatNotificationSettings -> Maybe Bool
use_default_disable_pinned_message_notifications = Maybe Bool
use_default_disable_pinned_message_notifications_
, disable_pinned_message_notifications :: ChatNotificationSettings -> Maybe Bool
disable_pinned_message_notifications = Maybe Bool
disable_pinned_message_notifications_
, use_default_disable_mention_notifications :: ChatNotificationSettings -> Maybe Bool
use_default_disable_mention_notifications = Maybe Bool
use_default_disable_mention_notifications_
, disable_mention_notifications :: ChatNotificationSettings -> Maybe Bool
disable_mention_notifications = Maybe Bool
disable_mention_notifications_
}
= String
"ChatNotificationSettings"
String -> ShowS
forall a. [a] -> [a] -> [a]
++ [String] -> String
I.cc
[ String
"use_default_mute_for" String -> Maybe Bool -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Bool
use_default_mute_for_
, String
"mute_for" String -> Maybe Int -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Int
mute_for_
, String
"use_default_sound" String -> Maybe Bool -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Bool
use_default_sound_
, String
"sound_id" String -> Maybe Int -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Int
sound_id_
, String
"use_default_show_preview" String -> Maybe Bool -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Bool
use_default_show_preview_
, String
"show_preview" String -> Maybe Bool -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Bool
show_preview_
, String
"use_default_mute_stories" String -> Maybe Bool -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Bool
use_default_mute_stories_
, String
"mute_stories" String -> Maybe Bool -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Bool
mute_stories_
, String
"use_default_story_sound" String -> Maybe Bool -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Bool
use_default_story_sound_
, String
"story_sound_id" String -> Maybe Int -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Int
story_sound_id_
, String
"use_default_show_story_sender" String -> Maybe Bool -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Bool
use_default_show_story_sender_
, String
"show_story_sender" String -> Maybe Bool -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Bool
show_story_sender_
, String
"use_default_disable_pinned_message_notifications" String -> Maybe Bool -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Bool
use_default_disable_pinned_message_notifications_
, String
"disable_pinned_message_notifications" String -> Maybe Bool -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Bool
disable_pinned_message_notifications_
, String
"use_default_disable_mention_notifications" String -> Maybe Bool -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Bool
use_default_disable_mention_notifications_
, String
"disable_mention_notifications" String -> Maybe Bool -> String
forall a. ShortShow a => String -> Maybe a -> String
`I.p` Maybe Bool
disable_mention_notifications_
]
instance AT.FromJSON ChatNotificationSettings where
parseJSON :: Value -> Parser ChatNotificationSettings
parseJSON v :: Value
v@(AT.Object Object
obj) = do
String
t <- Object
obj Object -> Key -> Parser String
forall a. FromJSON a => Object -> Key -> Parser a
A..: Key
"@type" :: AT.Parser String
case String
t of
String
"chatNotificationSettings" -> Value -> Parser ChatNotificationSettings
parseChatNotificationSettings Value
v
String
_ -> Parser ChatNotificationSettings
forall a. Monoid a => a
mempty
where
parseChatNotificationSettings :: A.Value -> AT.Parser ChatNotificationSettings
parseChatNotificationSettings :: Value -> Parser ChatNotificationSettings
parseChatNotificationSettings = String
-> (Object -> Parser ChatNotificationSettings)
-> Value
-> Parser ChatNotificationSettings
forall a. String -> (Object -> Parser a) -> Value -> Parser a
A.withObject String
"ChatNotificationSettings" ((Object -> Parser ChatNotificationSettings)
-> Value -> Parser ChatNotificationSettings)
-> (Object -> Parser ChatNotificationSettings)
-> Value
-> Parser ChatNotificationSettings
forall a b. (a -> b) -> a -> b
$ \Object
o -> do
Maybe Bool
use_default_mute_for_ <- Object
o Object -> Key -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"use_default_mute_for"
Maybe Int
mute_for_ <- Object
o Object -> Key -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"mute_for"
Maybe Bool
use_default_sound_ <- Object
o Object -> Key -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"use_default_sound"
Maybe Int
sound_id_ <- (String -> Int) -> Maybe String -> Maybe Int
forall a b. (a -> b) -> Maybe a -> Maybe b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap String -> Int
I.readInt64 (Maybe String -> Maybe Int)
-> Parser (Maybe String) -> Parser (Maybe Int)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Object
o Object -> Key -> Parser (Maybe String)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"sound_id"
Maybe Bool
use_default_show_preview_ <- Object
o Object -> Key -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"use_default_show_preview"
Maybe Bool
show_preview_ <- Object
o Object -> Key -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"show_preview"
Maybe Bool
use_default_mute_stories_ <- Object
o Object -> Key -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"use_default_mute_stories"
Maybe Bool
mute_stories_ <- Object
o Object -> Key -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"mute_stories"
Maybe Bool
use_default_story_sound_ <- Object
o Object -> Key -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"use_default_story_sound"
Maybe Int
story_sound_id_ <- (String -> Int) -> Maybe String -> Maybe Int
forall a b. (a -> b) -> Maybe a -> Maybe b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap String -> Int
I.readInt64 (Maybe String -> Maybe Int)
-> Parser (Maybe String) -> Parser (Maybe Int)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Object
o Object -> Key -> Parser (Maybe String)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"story_sound_id"
Maybe Bool
use_default_show_story_sender_ <- Object
o Object -> Key -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"use_default_show_story_sender"
Maybe Bool
show_story_sender_ <- Object
o Object -> Key -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"show_story_sender"
Maybe Bool
use_default_disable_pinned_message_notifications_ <- Object
o Object -> Key -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"use_default_disable_pinned_message_notifications"
Maybe Bool
disable_pinned_message_notifications_ <- Object
o Object -> Key -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"disable_pinned_message_notifications"
Maybe Bool
use_default_disable_mention_notifications_ <- Object
o Object -> Key -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"use_default_disable_mention_notifications"
Maybe Bool
disable_mention_notifications_ <- Object
o Object -> Key -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
A..:? Key
"disable_mention_notifications"
ChatNotificationSettings -> Parser ChatNotificationSettings
forall a. a -> Parser a
forall (f :: * -> *) a. Applicative f => a -> f a
pure (ChatNotificationSettings -> Parser ChatNotificationSettings)
-> ChatNotificationSettings -> Parser ChatNotificationSettings
forall a b. (a -> b) -> a -> b
$ ChatNotificationSettings
{ use_default_mute_for :: Maybe Bool
use_default_mute_for = Maybe Bool
use_default_mute_for_
, mute_for :: Maybe Int
mute_for = Maybe Int
mute_for_
, use_default_sound :: Maybe Bool
use_default_sound = Maybe Bool
use_default_sound_
, sound_id :: Maybe Int
sound_id = Maybe Int
sound_id_
, use_default_show_preview :: Maybe Bool
use_default_show_preview = Maybe Bool
use_default_show_preview_
, show_preview :: Maybe Bool
show_preview = Maybe Bool
show_preview_
, use_default_mute_stories :: Maybe Bool
use_default_mute_stories = Maybe Bool
use_default_mute_stories_
, mute_stories :: Maybe Bool
mute_stories = Maybe Bool
mute_stories_
, use_default_story_sound :: Maybe Bool
use_default_story_sound = Maybe Bool
use_default_story_sound_
, story_sound_id :: Maybe Int
story_sound_id = Maybe Int
story_sound_id_
, use_default_show_story_sender :: Maybe Bool
use_default_show_story_sender = Maybe Bool
use_default_show_story_sender_
, show_story_sender :: Maybe Bool
show_story_sender = Maybe Bool
show_story_sender_
, use_default_disable_pinned_message_notifications :: Maybe Bool
use_default_disable_pinned_message_notifications = Maybe Bool
use_default_disable_pinned_message_notifications_
, disable_pinned_message_notifications :: Maybe Bool
disable_pinned_message_notifications = Maybe Bool
disable_pinned_message_notifications_
, use_default_disable_mention_notifications :: Maybe Bool
use_default_disable_mention_notifications = Maybe Bool
use_default_disable_mention_notifications_
, disable_mention_notifications :: Maybe Bool
disable_mention_notifications = Maybe Bool
disable_mention_notifications_
}
parseJSON Value
_ = Parser ChatNotificationSettings
forall a. Monoid a => a
mempty
instance AT.ToJSON ChatNotificationSettings where
toJSON :: ChatNotificationSettings -> Value
toJSON ChatNotificationSettings
{ use_default_mute_for :: ChatNotificationSettings -> Maybe Bool
use_default_mute_for = Maybe Bool
use_default_mute_for_
, mute_for :: ChatNotificationSettings -> Maybe Int
mute_for = Maybe Int
mute_for_
, use_default_sound :: ChatNotificationSettings -> Maybe Bool
use_default_sound = Maybe Bool
use_default_sound_
, sound_id :: ChatNotificationSettings -> Maybe Int
sound_id = Maybe Int
sound_id_
, use_default_show_preview :: ChatNotificationSettings -> Maybe Bool
use_default_show_preview = Maybe Bool
use_default_show_preview_
, show_preview :: ChatNotificationSettings -> Maybe Bool
show_preview = Maybe Bool
show_preview_
, use_default_mute_stories :: ChatNotificationSettings -> Maybe Bool
use_default_mute_stories = Maybe Bool
use_default_mute_stories_
, mute_stories :: ChatNotificationSettings -> Maybe Bool
mute_stories = Maybe Bool
mute_stories_
, use_default_story_sound :: ChatNotificationSettings -> Maybe Bool
use_default_story_sound = Maybe Bool
use_default_story_sound_
, story_sound_id :: ChatNotificationSettings -> Maybe Int
story_sound_id = Maybe Int
story_sound_id_
, use_default_show_story_sender :: ChatNotificationSettings -> Maybe Bool
use_default_show_story_sender = Maybe Bool
use_default_show_story_sender_
, show_story_sender :: ChatNotificationSettings -> Maybe Bool
show_story_sender = Maybe Bool
show_story_sender_
, use_default_disable_pinned_message_notifications :: ChatNotificationSettings -> Maybe Bool
use_default_disable_pinned_message_notifications = Maybe Bool
use_default_disable_pinned_message_notifications_
, disable_pinned_message_notifications :: ChatNotificationSettings -> Maybe Bool
disable_pinned_message_notifications = Maybe Bool
disable_pinned_message_notifications_
, use_default_disable_mention_notifications :: ChatNotificationSettings -> Maybe Bool
use_default_disable_mention_notifications = Maybe Bool
use_default_disable_mention_notifications_
, disable_mention_notifications :: ChatNotificationSettings -> Maybe Bool
disable_mention_notifications = Maybe Bool
disable_mention_notifications_
}
= [Pair] -> Value
A.object
[ Key
"@type" Key -> Value -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Text -> Value
AT.String Text
"chatNotificationSettings"
, Key
"use_default_mute_for" Key -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Bool
use_default_mute_for_
, Key
"mute_for" Key -> Maybe Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Int
mute_for_
, Key
"use_default_sound" Key -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Bool
use_default_sound_
, Key
"sound_id" Key -> Maybe Value -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= (Int -> Value) -> Maybe Int -> Maybe Value
forall a b. (a -> b) -> Maybe a -> Maybe b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Int -> Value
I.writeInt64 Maybe Int
sound_id_
, Key
"use_default_show_preview" Key -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Bool
use_default_show_preview_
, Key
"show_preview" Key -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Bool
show_preview_
, Key
"use_default_mute_stories" Key -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Bool
use_default_mute_stories_
, Key
"mute_stories" Key -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Bool
mute_stories_
, Key
"use_default_story_sound" Key -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Bool
use_default_story_sound_
, Key
"story_sound_id" Key -> Maybe Value -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= (Int -> Value) -> Maybe Int -> Maybe Value
forall a b. (a -> b) -> Maybe a -> Maybe b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Int -> Value
I.writeInt64 Maybe Int
story_sound_id_
, Key
"use_default_show_story_sender" Key -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Bool
use_default_show_story_sender_
, Key
"show_story_sender" Key -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Bool
show_story_sender_
, Key
"use_default_disable_pinned_message_notifications" Key -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Bool
use_default_disable_pinned_message_notifications_
, Key
"disable_pinned_message_notifications" Key -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Bool
disable_pinned_message_notifications_
, Key
"use_default_disable_mention_notifications" Key -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Bool
use_default_disable_mention_notifications_
, Key
"disable_mention_notifications" Key -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Maybe Bool
disable_mention_notifications_
]
defaultChatNotificationSettings :: ChatNotificationSettings
defaultChatNotificationSettings :: ChatNotificationSettings
defaultChatNotificationSettings =
ChatNotificationSettings
{ use_default_mute_for :: Maybe Bool
use_default_mute_for = Maybe Bool
forall a. Maybe a
Nothing
, mute_for :: Maybe Int
mute_for = Maybe Int
forall a. Maybe a
Nothing
, use_default_sound :: Maybe Bool
use_default_sound = Maybe Bool
forall a. Maybe a
Nothing
, sound_id :: Maybe Int
sound_id = Maybe Int
forall a. Maybe a
Nothing
, use_default_show_preview :: Maybe Bool
use_default_show_preview = Maybe Bool
forall a. Maybe a
Nothing
, show_preview :: Maybe Bool
show_preview = Maybe Bool
forall a. Maybe a
Nothing
, use_default_mute_stories :: Maybe Bool
use_default_mute_stories = Maybe Bool
forall a. Maybe a
Nothing
, mute_stories :: Maybe Bool
mute_stories = Maybe Bool
forall a. Maybe a
Nothing
, use_default_story_sound :: Maybe Bool
use_default_story_sound = Maybe Bool
forall a. Maybe a
Nothing
, story_sound_id :: Maybe Int
story_sound_id = Maybe Int
forall a. Maybe a
Nothing
, use_default_show_story_sender :: Maybe Bool
use_default_show_story_sender = Maybe Bool
forall a. Maybe a
Nothing
, show_story_sender :: Maybe Bool
show_story_sender = Maybe Bool
forall a. Maybe a
Nothing
, use_default_disable_pinned_message_notifications :: Maybe Bool
use_default_disable_pinned_message_notifications = Maybe Bool
forall a. Maybe a
Nothing
, disable_pinned_message_notifications :: Maybe Bool
disable_pinned_message_notifications = Maybe Bool
forall a. Maybe a
Nothing
, use_default_disable_mention_notifications :: Maybe Bool
use_default_disable_mention_notifications = Maybe Bool
forall a. Maybe a
Nothing
, disable_mention_notifications :: Maybe Bool
disable_mention_notifications = Maybe Bool
forall a. Maybe a
Nothing
}