telega-0.2.5: Telegram Bot API binding

Safe HaskellNone
LanguageHaskell2010

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

Documentation

data Message Source #

Instances
Show Message Source # 
Instance details

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

FromJSON Message Source # 
Instance details

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

Methods

parseJSON :: Value -> Parser Message

parseJSONList :: Value -> Parser [Message]

Identifiable Message Source # 
Instance details

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

Associated Types

type Identificator Message :: * Source #

Accessible Content Message Source # 
Instance details

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

Methods

access :: Lens' Message Content Source #

Accessible Origin Message Source # 
Instance details

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

Methods

access :: Lens' Message Origin Source #

Persistable (Delete Message) Source # 
Instance details

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

Associated Types

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

type Returning (Delete Message) :: * Source #

Persistable (Forward Message) Source # 
Instance details

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

Associated Types

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

type Returning (Forward Message) :: * Source #

type Identificator Message Source # 
Instance details

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

type Payload (Delete Message) Source # 
Instance details

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

type Payload (Forward Message) Source # 
Instance details

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

type Returning (Delete Message) Source # 
Instance details

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

type Returning (Forward Message) Source # 
Instance details

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

data Send a Source #

Constructors

Send Int64 a 
Instances
Persistable (Send Text) Source # 
Instance details

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

Associated Types

type Payload (Send Text) = (payload :: *) Source #

type Returning (Send Text) :: * Source #

Persistable (Send Audio) Source # 
Instance details

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

Associated Types

type Payload (Send Audio) = (payload :: *) Source #

type Returning (Send Audio) :: * Source #

Persistable (Send Document) Source # 
Instance details

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

Associated Types

type Payload (Send Document) = (payload :: *) Source #

type Returning (Send Document) :: * Source #

Persistable (Send Photo) Source # 
Instance details

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

Associated Types

type Payload (Send Photo) = (payload :: *) Source #

type Returning (Send Photo) :: * Source #

Persistable (Send Video) Source # 
Instance details

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

Associated Types

type Payload (Send Video) = (payload :: *) Source #

type Returning (Send Video) :: * Source #

Persistable (Send Voice) Source # 
Instance details

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

Associated Types

type Payload (Send Voice) = (payload :: *) Source #

type Returning (Send Voice) :: * Source #

Persistable (Send (Live Location)) Source # 
Instance details

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

Associated Types

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

type Returning (Send (Live Location)) :: * Source #

Persistable (Send Location) Source # 
Instance details

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

Associated Types

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

type Returning (Send Location) :: * Source #

Persistable (Send Poll) Source # 
Instance details

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

Associated Types

type Payload (Send Poll) = (payload :: *) Source #

type Returning (Send Poll) :: * Source #

Persistable (Send (Text :&: Keyboard)) Source # 
Instance details

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

Associated Types

type Payload (Send (Text :&: Keyboard)) = (payload :: *) Source #

type Returning (Send (Text :&: Keyboard)) :: * Source #

Persistable (Send (Caption :&: Audio)) Source # 
Instance details

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

Associated Types

type Payload (Send (Caption :&: Audio)) = (payload :: *) Source #

type Returning (Send (Caption :&: Audio)) :: * Source #

Persistable (Send (Caption :&: Document)) Source # 
Instance details

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

Associated Types

type Payload (Send (Caption :&: Document)) = (payload :: *) Source #

type Returning (Send (Caption :&: Document)) :: * Source #

Persistable (Send (Caption :&: Photo)) Source # 
Instance details

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

Associated Types

type Payload (Send (Caption :&: Photo)) = (payload :: *) Source #

type Returning (Send (Caption :&: Photo)) :: * Source #

Persistable (Send (Caption :&: Video)) Source # 
Instance details

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

Associated Types

type Payload (Send (Caption :&: Video)) = (payload :: *) Source #

type Returning (Send (Caption :&: Video)) :: * Source #

Persistable (Send (Caption :&: Voice)) Source # 
Instance details

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

Associated Types

type Payload (Send (Caption :&: Voice)) = (payload :: *) Source #

type Returning (Send (Caption :&: Voice)) :: * Source #

Persistable (Send obj) => Persistable (Silently Send obj :: *) Source # 
Instance details

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

Associated Types

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

type Returning (Silently Send obj) :: * Source #

type Payload (Send Text) Source # 
Instance details

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

type Payload (Send Audio) Source # 
Instance details

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

type Payload (Send Audio) = Send (URI :&: Audio)
type Payload (Send Document) Source # 
Instance details

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

type Payload (Send Photo) Source # 
Instance details

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

type Payload (Send Video) Source # 
Instance details

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

type Payload (Send Video) = Send (URI :&: Video)
type Payload (Send Voice) Source # 
Instance details

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

type Payload (Send Voice) = Send (URI :&: Voice)
type Payload (Send (Live Location)) Source # 
Instance details

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

type Payload (Send Location) Source # 
Instance details

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

type Payload (Send Poll) Source # 
Instance details

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

type Payload (Send (Text :&: Keyboard)) Source # 
Instance details

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

type Payload (Send (Text :&: Keyboard)) = Send (Text :&: Keyboard)
type Payload (Send (Caption :&: Audio)) Source # 
Instance details

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

type Payload (Send (Caption :&: Audio)) = Send (Caption :&: (URI :&: Audio))
type Payload (Send (Caption :&: Document)) Source # 
Instance details

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

type Payload (Send (Caption :&: Document)) = Send (Caption :&: (URI :&: Document))
type Payload (Send (Caption :&: Photo)) Source # 
Instance details

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

type Payload (Send (Caption :&: Photo)) = Send (Caption :&: URI)
type Payload (Send (Caption :&: Video)) Source # 
Instance details

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

type Payload (Send (Caption :&: Video)) = Send (Caption :&: (URI :&: Video))
type Payload (Send (Caption :&: Voice)) Source # 
Instance details

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

type Payload (Send (Caption :&: Voice)) = Send (Caption :&: (URI :&: Voice))
type Returning (Send Text) Source # 
Instance details

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

type Returning (Send Audio) Source # 
Instance details

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

type Returning (Send Document) Source # 
Instance details

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

type Returning (Send Photo) Source # 
Instance details

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

type Returning (Send Video) Source # 
Instance details

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

type Returning (Send Voice) Source # 
Instance details

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

type Returning (Send (Live Location)) Source # 
Instance details

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

type Returning (Send Location) Source # 
Instance details

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

type Returning (Send Poll) Source # 
Instance details

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

type Returning (Send (Text :&: Keyboard)) Source # 
Instance details

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

type Returning (Send (Caption :&: Audio)) Source # 
Instance details

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

type Returning (Send (Caption :&: Document)) Source # 
Instance details

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

type Returning (Send (Caption :&: Photo)) Source # 
Instance details

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

type Returning (Send (Caption :&: Video)) Source # 
Instance details

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

type Returning (Send (Caption :&: Voice)) Source # 
Instance details

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

type Payload (Silently Send obj :: *) Source # 
Instance details

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

type Payload (Silently Send obj :: *) = Silently Send (Payload (Send obj))
type Returning (Silently Send obj :: *) Source # 
Instance details

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

type Returning (Silently Send obj :: *) = Message

data Reply a Source #

Constructors

Reply Int a 
Instances
Persistable (Send a) => Persistable (Reply a :: *) Source # 
Instance details

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

Associated Types

type Payload (Reply a) = (payload :: *) Source #

type Returning (Reply a) :: * Source #

Methods

payload :: Payload (Reply a) -> Object Source #

endpoint :: Payload (Reply a) -> String Source #

persist :: FromJSON (Returning (Reply a)) => Payload (Reply a) -> Telegram e (Returning (Reply a)) Source #

persist_ :: Payload (Reply a) -> Telegram e () Source #

Persistable (Reply obj) => Persistable (Silently Reply obj :: *) Source # 
Instance details

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

Associated Types

type Payload (Silently Reply obj) = (payload :: *) Source #

type Returning (Silently Reply obj) :: * Source #

type Payload (Reply a :: *) Source # 
Instance details

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

type Payload (Reply a :: *) = Reply (Payload (Send a))
type Returning (Reply a :: *) Source # 
Instance details

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

type Returning (Reply a :: *) = Returning (Send a)
type Payload (Silently Reply obj :: *) Source # 
Instance details

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

type Payload (Silently Reply obj :: *) = Silently Reply (Payload (Reply obj))
type Returning (Silently Reply obj :: *) Source # 
Instance details

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

type Returning (Silently Reply obj :: *) = Message

data Forward a Source #

Constructors

Forward Int Int64 Int64 
Instances
Persistable (Forward obj) => Persistable (Silently (Forward :: * -> *) obj :: *) Source # 
Instance details

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

Associated Types

type Payload (Silently Forward obj) = (payload :: *) Source #

type Returning (Silently Forward obj) :: * Source #

Persistable (Forward Message) Source # 
Instance details

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

Associated Types

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

type Returning (Forward Message) :: * Source #

type Payload (Silently (Forward :: * -> *) obj :: *) Source # 
Instance details

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

type Payload (Silently (Forward :: * -> *) obj :: *) = Silently (Forward :: * -> *) (Payload (Forward obj))
type Payload (Forward Message) Source # 
Instance details

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

type Returning (Silently (Forward :: * -> *) obj :: *) Source # 
Instance details

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

type Returning (Silently (Forward :: * -> *) obj :: *) = Message
type Returning (Forward Message) Source # 
Instance details

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

data Edit b Source #

Constructors

Edit Int64 Int b 
Instances
Persistable (Edit Text) Source # 
Instance details

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

Associated Types

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

type Returning (Edit Text) :: * Source #

Persistable (Edit (Live Location)) Source # 
Instance details

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

Associated Types

type Payload (Edit (Live Location)) = (payload :: *) Source #

type Returning (Edit (Live Location)) :: * Source #

Persistable (Edit Keyboard) Source # 
Instance details

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

Associated Types

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

type Returning (Edit Keyboard) :: * Source #

Persistable (Edit (Text :&: Keyboard)) Source # 
Instance details

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

Associated Types

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

type Returning (Edit (Text :&: Keyboard)) :: * Source #

type Payload (Edit Text) Source # 
Instance details

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

type Payload (Edit (Live Location)) Source # 
Instance details

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

type Payload (Edit Keyboard) Source # 
Instance details

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

type Payload (Edit (Text :&: Keyboard)) Source # 
Instance details

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

type Payload (Edit (Text :&: Keyboard)) = Edit (Text :&: Keyboard)
type Returning (Edit Text) Source # 
Instance details

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

type Returning (Edit (Live Location)) Source # 
Instance details

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

type Returning (Edit Keyboard) Source # 
Instance details

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

type Returning (Edit (Text :&: Keyboard)) Source # 
Instance details

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

data Silently (todo :: * -> *) a Source #

Constructors

Silently a 
Instances
Persistable (Reply obj) => Persistable (Silently Reply obj :: *) Source # 
Instance details

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

Associated Types

type Payload (Silently Reply obj) = (payload :: *) Source #

type Returning (Silently Reply obj) :: * Source #

Persistable (Send obj) => Persistable (Silently Send obj :: *) Source # 
Instance details

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

Associated Types

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

type Returning (Silently Send obj) :: * Source #

Persistable (Forward obj) => Persistable (Silently (Forward :: * -> *) obj :: *) Source # 
Instance details

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

Associated Types

type Payload (Silently Forward obj) = (payload :: *) Source #

type Returning (Silently Forward obj) :: * Source #

type Payload (Silently Reply obj :: *) Source # 
Instance details

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

type Payload (Silently Reply obj :: *) = Silently Reply (Payload (Reply obj))
type Payload (Silently Send obj :: *) Source # 
Instance details

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

type Payload (Silently Send obj :: *) = Silently Send (Payload (Send obj))
type Payload (Silently (Forward :: * -> *) obj :: *) Source # 
Instance details

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

type Payload (Silently (Forward :: * -> *) obj :: *) = Silently (Forward :: * -> *) (Payload (Forward obj))
type Returning (Silently Reply obj :: *) Source # 
Instance details

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

type Returning (Silently Reply obj :: *) = Message
type Returning (Silently Send obj :: *) Source # 
Instance details

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

type Returning (Silently Send obj :: *) = Message
type Returning (Silently (Forward :: * -> *) obj :: *) Source # 
Instance details

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

type Returning (Silently (Forward :: * -> *) obj :: *) = Message