telega-0.2.7: Telegram Bot API binding
Network.API.Telegram.Bot.Object.Update.Message.Content.Info.Location
data Location Source #
Constructors
Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.Info.Location
Methods
showsPrec :: Int -> Location -> ShowS #
show :: Location -> String #
showList :: [Location] -> ShowS #
parseJSON :: Value -> Parser Location
parseJSONList :: Value -> Parser [Location]
toJSON :: Location -> Value
toEncoding :: Location -> Encoding
toJSONList :: [Location] -> Value
toEncodingList :: [Location] -> Encoding
Defined in Network.API.Telegram.Bot.Object.Update.Message
Associated Types
type Payload (Edit (Live Location)) = (payload :: *) Source #
type Returning (Edit (Live Location)) :: * Source #
payload :: Payload (Edit (Live Location)) -> Object Source #
endpoint :: Payload (Edit (Live Location)) -> String Source #
persist :: FromJSON (Returning (Edit (Live Location))) => Payload (Edit (Live Location)) -> Telegram e (Returning (Edit (Live Location))) Source #
persist_ :: Payload (Edit (Live Location)) -> Telegram e () Source #
type Payload (Send (Live Location)) = (payload :: *) Source #
type Returning (Send (Live Location)) :: * Source #
payload :: Payload (Send (Live Location)) -> Object Source #
endpoint :: Payload (Send (Live Location)) -> String Source #
persist :: FromJSON (Returning (Send (Live Location))) => Payload (Send (Live Location)) -> Telegram e (Returning (Send (Live Location))) Source #
persist_ :: Payload (Send (Live Location)) -> Telegram e () Source #
type Payload (Send Location) = (payload :: *) Source #
type Returning (Send Location) :: * Source #
payload :: Payload (Send Location) -> Object Source #
endpoint :: Payload (Send Location) -> String Source #
persist :: FromJSON (Returning (Send Location)) => Payload (Send Location) -> Telegram e (Returning (Send Location)) Source #
persist_ :: Payload (Send Location) -> Telegram e () Source #
data Live a where Source #