Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Persistable action where Source #
payload :: Payload action -> Object Source #
endpoint :: Payload action -> String Source #
persist :: FromJSON r => Payload action -> Telegram e r Source #
Instances
Persistable (Send Message) Source # | |
Persistable (Send obj) => Persistable (Reply obj :: Capacity object) Source # | |
Persistable (Send obj) => Persistable (Silenlty (Send :: * -> Capacity *) obj :: *) Source # | |