Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Object o => Persistable c o where Source #
payload :: Payload c o -> Value Source #
endpoint :: Payload c o -> String Source #
request :: FromJSON r => Payload c o -> Telegram e r Source #
Instances
type family Payload (c :: k) o = r | r -> o c Source #
Instances
type Payload Directly Message Source # | |
type Payload Forwarding Message Source # | |
type Payload Replying Message Source # | |
type Payload Fetch Sender Source # | |
type Payload Fetch Member Source # | |
type Payload Post Notification Source # | |
type Payload Post Keyboard Source # | |
type Payload Edit Keyboard Source # | |
type Payload Purge Message Source # | |
Instances
Persistable Fetch Sender Source # | |
Persistable Fetch Member Source # | |
Persistable Post Notification Source # | |
Persistable Post Keyboard Source # | |
Persistable Edit Keyboard Source # | |
Persistable Purge Message Source # | |
type Payload Fetch Sender Source # | |
type Payload Fetch Member Source # | |
type Payload Post Notification Source # | |
type Payload Post Keyboard Source # | |
type Payload Edit Keyboard Source # | |
type Payload Purge Message Source # | |