Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SendLocationRequest = SendLocationRequest {
- sendLocationChatId :: SomeChatId
- sendLocationMessageThreadId :: Maybe MessageThreadId
- sendLocationLatitude :: Float
- sendLocationLongitude :: Float
- sendLocationHorizontalAccuracy :: Maybe Float
- sendLocationLivePeriod :: Int
- sendLocationHeading :: Maybe Int
- sendLocationProximityAlertRadius :: Maybe Int
- sendLocationDisableNotification :: Maybe Bool
- sendLocationProtectContent :: Maybe Bool
- sendLocationReplyToMessageId :: Maybe MessageId
- sendLocationAllowSendingWithoutReply :: Maybe Bool
- sendLocationReplyMarkup :: Maybe InlineKeyboardMarkup
- type SendLocation = "sendLocation" :> (ReqBody '[JSON] SendLocationRequest :> Post '[JSON] (Response Message))
- sendLocation :: SendLocationRequest -> ClientM (Response Message)
sendLocation
data SendLocationRequest Source #
Request parameters for sendLocation
.
SendLocationRequest | |
|
Instances
type SendLocation = "sendLocation" :> (ReqBody '[JSON] SendLocationRequest :> Post '[JSON] (Response Message)) Source #
sendLocation :: SendLocationRequest -> ClientM (Response Message) Source #
Use this method to send point on the map. On success, the sent Message is returned.