| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.ComposeTextWithAi
Synopsis
Documentation
data ComposeTextWithAi Source #
Changes text using an AI model; must not be used in secret chats. May return an error with a message AICOMPOSE_FLOOD_PREMIUM if Telegram Premium is required to send further requests. Returns FormattedText
Constructors
| ComposeTextWithAi | |
Fields
| |
Instances
| ToJSON ComposeTextWithAi Source # | |
Defined in TD.Query.ComposeTextWithAi Methods toJSON :: ComposeTextWithAi -> Value # toEncoding :: ComposeTextWithAi -> Encoding # toJSONList :: [ComposeTextWithAi] -> Value # toEncodingList :: [ComposeTextWithAi] -> Encoding # | |
| Show ComposeTextWithAi Source # | |
Defined in TD.Query.ComposeTextWithAi Methods showsPrec :: Int -> ComposeTextWithAi -> ShowS # show :: ComposeTextWithAi -> String # showList :: [ComposeTextWithAi] -> ShowS # | |
| Eq ComposeTextWithAi Source # | |
Defined in TD.Query.ComposeTextWithAi Methods (==) :: ComposeTextWithAi -> ComposeTextWithAi -> Bool # (/=) :: ComposeTextWithAi -> ComposeTextWithAi -> Bool # | |
| ShortShow ComposeTextWithAi Source # | |
Defined in TD.Query.ComposeTextWithAi Methods shortShow :: ComposeTextWithAi -> String Source # | |