Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data AddBotMediaPreview Source #
Adds a new media preview to the beginning of the list of media previews of a bot. Returns the added preview after addition is completed server-side. The total number of previews must not exceed getOption("bot_media_preview_count_max") for the given language. Returns BotMediaPreview
AddBotMediaPreview | |
|
Instances
ToJSON AddBotMediaPreview Source # | |
Defined in TD.Query.AddBotMediaPreview toJSON :: AddBotMediaPreview -> Value # toEncoding :: AddBotMediaPreview -> Encoding # toJSONList :: [AddBotMediaPreview] -> Value # toEncodingList :: [AddBotMediaPreview] -> Encoding # | |
Show AddBotMediaPreview Source # | |
Defined in TD.Query.AddBotMediaPreview showsPrec :: Int -> AddBotMediaPreview -> ShowS # show :: AddBotMediaPreview -> String # showList :: [AddBotMediaPreview] -> ShowS # | |
Eq AddBotMediaPreview Source # | |
Defined in TD.Query.AddBotMediaPreview (==) :: AddBotMediaPreview -> AddBotMediaPreview -> Bool # (/=) :: AddBotMediaPreview -> AddBotMediaPreview -> Bool # | |
ShortShow AddBotMediaPreview Source # | |
Defined in TD.Query.AddBotMediaPreview shortShow :: AddBotMediaPreview -> String Source # |