| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.SetBotSettings
Synopsis
- data SetBotSettings = SetBotSettings {
- bot_user_id :: Maybe Int
- settings :: Maybe [BotSetting]
- defaultSetBotSettings :: SetBotSettings
Documentation
data SetBotSettings Source #
Changes settings of a bot. Can be called only if userTypeBot.can_be_edited == true. Returns Ok
Constructors
| SetBotSettings | |
Fields
| |
Instances
| ToJSON SetBotSettings Source # | |
Defined in TD.Query.SetBotSettings Methods toJSON :: SetBotSettings -> Value # toEncoding :: SetBotSettings -> Encoding # toJSONList :: [SetBotSettings] -> Value # toEncodingList :: [SetBotSettings] -> Encoding # | |
| Show SetBotSettings Source # | |
Defined in TD.Query.SetBotSettings Methods showsPrec :: Int -> SetBotSettings -> ShowS # show :: SetBotSettings -> String # showList :: [SetBotSettings] -> ShowS # | |
| Eq SetBotSettings Source # | |
Defined in TD.Query.SetBotSettings Methods (==) :: SetBotSettings -> SetBotSettings -> Bool # (/=) :: SetBotSettings -> SetBotSettings -> Bool # | |
| ShortShow SetBotSettings Source # | |
Defined in TD.Query.SetBotSettings Methods shortShow :: SetBotSettings -> String Source # | |