telega-0.2.1: Telegram Bot API binding

Safe HaskellNone
LanguageHaskell2010

Network.API.Telegram.Bot.Property.Persistable

Documentation

class Persistable capacity object where Source #

Minimal complete definition

payload, endpoint

Associated Types

type Payload (capacity :: * -> Capacity *) object = payload | payload -> capacity object Source #

Methods

payload :: Payload capacity object -> Value Source #

endpoint :: Payload capacity object -> String Source #

persist :: FromJSON r => Payload capacity object -> Telegram e r Source #

Instances
Persistable (Post :: * -> Capacity *) Keyboard Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Keyboard

Associated Types

type Payload Post Keyboard = (payload :: *) Source #

Persistable (Post :: * -> Capacity *) Notification Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Callback.Notification

Associated Types

type Payload Post Notification = (payload :: *) Source #

Persistable (Fetch :: * -> Capacity *) Sender Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Sender

Associated Types

type Payload Fetch Sender = (payload :: *) Source #

Persistable (Fetch :: * -> Capacity *) Member Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

Associated Types

type Payload Fetch Member = (payload :: *) Source #

Persistable (Edit :: * -> Capacity *) Keyboard Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Keyboard

Associated Types

type Payload Edit Keyboard = (payload :: *) Source #

Persistable (Edit :: * -> Capacity *) Message Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message

Associated Types

type Payload Edit Message = (payload :: *) Source #

Persistable (Purge :: * -> Capacity *) Message Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message

Associated Types

type Payload Purge Message = (payload :: *) Source #

Persistable (Send Silently Directly :: * -> Capacity *) Location Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.Info.Location

Associated Types

type Payload (Send Silently Directly) Location = (payload :: *) Source #

Persistable (Send Silently Directly :: * -> Capacity *) Message Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message

Associated Types

type Payload (Send Silently Directly) Message = (payload :: *) Source #

Persistable (Send Silently Forwarding :: * -> Capacity *) Message Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message

Associated Types

type Payload (Send Silently Forwarding) Message = (payload :: *) Source #

Persistable (Send Silently Replying :: * -> Capacity *) Location Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.Info.Location

Associated Types

type Payload (Send Silently Replying) Location = (payload :: *) Source #

Persistable (Send Silently Replying :: * -> Capacity *) Message Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message

Associated Types

type Payload (Send Silently Replying) Message = (payload :: *) Source #

Persistable (Send Notify Directly :: * -> Capacity *) Location Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.Info.Location

Associated Types

type Payload (Send Notify Directly) Location = (payload :: *) Source #

Persistable (Send Notify Directly :: * -> Capacity *) Message Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message

Associated Types

type Payload (Send Notify Directly) Message = (payload :: *) Source #

Persistable (Send Notify Forwarding :: * -> Capacity *) Message Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message

Associated Types

type Payload (Send Notify Forwarding) Message = (payload :: *) Source #

Persistable (Send Notify Replying :: * -> Capacity *) Location Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.Info.Location

Associated Types

type Payload (Send Notify Replying) Location = (payload :: *) Source #

Persistable (Send Notify Replying :: * -> Capacity *) Message Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message

Associated Types

type Payload (Send Notify Replying) Message = (payload :: *) Source #

data Capacity object Source #

Constructors

Send Inform Way object 
Post object 
Fetch object 
Edit object 
Purge object 

data Inform Source #

Constructors

Silently 
Notify 

data Way Source #

Constructors

Directly 
Forwarding 
Replying