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