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 (Edit Text) Source # | |
Persistable (Edit Keyboard) Source # | |
Persistable (Edit (Text :&: Keyboard)) Source # | |
Persistable (Send a) => Persistable (Reply a :: *) Source # | |
Persistable (Send Text) Source # | |
Persistable (Send Audio) Source # | |
Persistable (Send Document) Source # | |
Persistable (Send Video) Source # | |
Persistable (Send Voice) Source # | |
Persistable (Send (Text :&: Keyboard)) Source # | |
Persistable (Reply obj) => Persistable (Silently Reply obj :: *) Source # | |
Persistable (Send obj) => Persistable (Silently Send obj :: *) Source # | |
Persistable (Forward obj) => Persistable (Silently (Forward :: * -> *) obj :: *) Source # | |
Persistable (Delete Message) Source # | |
Persistable (Forward Message) Source # | |
Persistable (Trigger Notification) Source # | |