telegram-bot-api-6.5: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Types.Location

Contents

Synopsis

Location

data Location Source #

This object represents a point on the map.

Constructors

Location 

Fields

Instances

Instances details
FromJSON Location Source # 
Instance details

Defined in Telegram.Bot.API.Types.Location

ToJSON Location Source # 
Instance details

Defined in Telegram.Bot.API.Types.Location

Generic Location Source # 
Instance details

Defined in Telegram.Bot.API.Types.Location

Associated Types

type Rep Location :: Type -> Type #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

Show Location Source # 
Instance details

Defined in Telegram.Bot.API.Types.Location

type Rep Location Source # 
Instance details

Defined in Telegram.Bot.API.Types.Location

type Rep Location = D1 ('MetaData "Location" "Telegram.Bot.API.Types.Location" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "Location" 'PrefixI 'True) ((S1 ('MetaSel ('Just "locationLongitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Float) :*: (S1 ('MetaSel ('Just "locationLatitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Float) :*: S1 ('MetaSel ('Just "locationHorizontalAccuracy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Float)))) :*: (S1 ('MetaSel ('Just "locationLivePeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Seconds)) :*: (S1 ('MetaSel ('Just "locationHeading") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "locationProximityAlertRadius") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int))))))