| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Telegram.API.Bot.Property.Persistable
Documentation
class Object o => Persistable c o where Source #
Methods
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 Post' Notification Source # | |
| type Payload Post' Keyboard Source # | |
| type Payload Fetch' Sender Source # | |
| type Payload Fetch' Member Source # | |
| type Payload Edit' Keyboard Source # | |
| type Payload Edit' Message Source # | |
| type Payload Purge' Message Source # | |
| type Payload (Direct' Post') Message Source # | |
| type Payload (Forward' Post') Message Source # | |
| type Payload (Reply' Post') Message Source # | |
Instances
| Persistable Post' Notification Source # | |
| Persistable Post' Keyboard Source # | |
| Persistable Fetch' Sender Source # | |
| Persistable Fetch' Member Source # | |
| Persistable Edit' Keyboard Source # | |
| Persistable Edit' Message Source # | |
| Persistable Purge' Message Source # | |
| type Payload Post' Notification Source # | |
| type Payload Post' Keyboard Source # | |
| type Payload Fetch' Sender Source # | |
| type Payload Fetch' Member Source # | |
| type Payload Edit' Keyboard Source # | |
| type Payload Edit' Message Source # | |
| type Payload Purge' Message Source # | |