Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SendVenueRequest = SendVenueRequest {
- sendVenueBusinessConnectionId :: Maybe BusinessConnectionId
- sendVenueChatId :: SomeChatId
- sendVenueMessageThreadId :: Maybe MessageThreadId
- sendVenueLatitude :: Float
- sendVenueLongitude :: Float
- sendVenueTitle :: Text
- sendVenueAddress :: Text
- sendVenueFoursquareId :: Maybe Text
- sendVenueFoursquareType :: Maybe Text
- sendVenueGooglePlaceId :: Maybe Text
- sendVenueGooglePlaceType :: Maybe Text
- sendVenueDisableNotification :: Maybe Bool
- sendVenueProtectContent :: Maybe Bool
- sendVenueReplyToMessageId :: Maybe MessageId
- sendVenueReplyParameters :: Maybe ReplyParameters
- sendVenueReplyMarkup :: Maybe InlineKeyboardMarkup
- type SendVenue = "sendVenue" :> (ReqBody '[JSON] SendVenueRequest :> Post '[JSON] (Response Message))
- sendVenue :: SendVenueRequest -> ClientM (Response Message)
- defSendVenue :: SomeChatId -> Float -> Float -> Text -> Text -> SendVenueRequest
sendVenue
data SendVenueRequest Source #
Request parameters for sendVenue
.
SendVenueRequest | |
|
Instances
type SendVenue = "sendVenue" :> (ReqBody '[JSON] SendVenueRequest :> Post '[JSON] (Response Message)) Source #
sendVenue :: SendVenueRequest -> ClientM (Response Message) Source #
Use this method to send information about a venue. On success, the sent Message is returned.
defSendVenue :: SomeChatId -> Float -> Float -> Text -> Text -> SendVenueRequest Source #