POST /sendVenue
Use this method to send information about a venue. On success, the sent Message is returned.
Servers
- https://api.telegram.org/bot{token}
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
foursquare_id |
String | No |
Foursquare identifier of the venue |
allow_sending_without_reply |
Boolean | No |
Pass True, if the message should be sent even if the specified replied-to message is not found |
latitude |
Number | Yes |
Latitude of the venue |
google_place_id |
String | No |
Google Places identifier of the venue |
foursquare_type |
String | No |
Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.) |
reply_markup |
No |
Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user. |
|
longitude |
Number | Yes |
Longitude of the venue |
google_place_type |
String | No |
Google Places type of the venue. (See supported types.) |
disable_notification |
Boolean | No |
Sends the message silently. Users will receive a notification with no sound. |
chat_id |
Yes |
Unique identifier for the target chat or username of the target channel (in the format |
|
title |
String | Yes |
Name of the venue |
address |
String | Yes |
Address of the venue |
reply_to_message_id |
Integer | No |
If the message is a reply, ID of the original message |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.