Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Telegram.Bot.Simple.RunTG
RunTG
class RunTG a b | a -> b where Source #
The most preferrable way to run telegram requests.
E.g. instead of invoking liftClientM $ methodName MethodNameRequest {..}
, you just need to specify runTG $ defMethodName params
. See examples
for more details.