Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Query.GetCommands
Synopsis
- data GetCommands = GetCommands {}
- defaultGetCommands :: GetCommands
Documentation
data GetCommands Source #
Returns the list of commands supported by the bot for the given user scope and language; for bots only. Returns BotCommands
Constructors
GetCommands | |
Fields
|
Instances
ToJSON GetCommands Source # | |
Defined in TD.Query.GetCommands Methods toJSON :: GetCommands -> Value # toEncoding :: GetCommands -> Encoding # toJSONList :: [GetCommands] -> Value # toEncodingList :: [GetCommands] -> Encoding # | |
Show GetCommands Source # | |
Defined in TD.Query.GetCommands Methods showsPrec :: Int -> GetCommands -> ShowS # show :: GetCommands -> String # showList :: [GetCommands] -> ShowS # | |
Eq GetCommands Source # | |
Defined in TD.Query.GetCommands | |
ShortShow GetCommands Source # | |
Defined in TD.Query.GetCommands Methods shortShow :: GetCommands -> String Source # |