Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data AutosaveSettingsScope Source #
Describes scope of autosave settings
AutosaveSettingsScopePrivateChats | Autosave settings applied to all private chats without chat-specific settings |
AutosaveSettingsScopeGroupChats | Autosave settings applied to all basic group and supergroup chats without chat-specific settings |
AutosaveSettingsScopeChannelChats | Autosave settings applied to all channel chats without chat-specific settings |
AutosaveSettingsScopeChat | Autosave settings applied to a chat |
Instances
FromJSON AutosaveSettingsScope Source # | |
Defined in TD.Data.AutosaveSettingsScope parseJSON :: Value -> Parser AutosaveSettingsScope # parseJSONList :: Value -> Parser [AutosaveSettingsScope] # | |
ToJSON AutosaveSettingsScope Source # | |
Defined in TD.Data.AutosaveSettingsScope toJSON :: AutosaveSettingsScope -> Value # toEncoding :: AutosaveSettingsScope -> Encoding # toJSONList :: [AutosaveSettingsScope] -> Value # toEncodingList :: [AutosaveSettingsScope] -> Encoding # | |
Show AutosaveSettingsScope Source # | |
Defined in TD.Data.AutosaveSettingsScope showsPrec :: Int -> AutosaveSettingsScope -> ShowS # show :: AutosaveSettingsScope -> String # showList :: [AutosaveSettingsScope] -> ShowS # | |
Eq AutosaveSettingsScope Source # | |
Defined in TD.Data.AutosaveSettingsScope (==) :: AutosaveSettingsScope -> AutosaveSettingsScope -> Bool # (/=) :: AutosaveSettingsScope -> AutosaveSettingsScope -> Bool # | |
ShortShow AutosaveSettingsScope Source # | |
Defined in TD.Data.AutosaveSettingsScope |