telega-0.2.4: Telegram Bot API binding

Safe HaskellNone
LanguageHaskell2010

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

Documentation

data Location Source #

Constructors

Location Float Float 
Instances
Show Location Source # 
Instance details

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

FromJSON Location Source # 
Instance details

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

Methods

parseJSON :: Value -> Parser Location

parseJSONList :: Value -> Parser [Location]

ToJSON Location Source # 
Instance details

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

Methods

toJSON :: Location -> Value

toEncoding :: Location -> Encoding

toJSONList :: [Location] -> Value

toEncodingList :: [Location] -> Encoding

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 #

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 #

Persistable (Send Location) Source # 
Instance details

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

Associated Types

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

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

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

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

data Live a where Source #

Constructors

Live :: Int -> Location -> Live Location