Telegram - Send location action

The Send location action sends a point on the map to a chat in Telegram.

Input

Input fieldDescription
Chat IDEnter the unique identifier for the target chat or the username of the target channel.
LatitudeEnter the latitude of the location.
LongitudeEnter the longitude of the location.
Horizontal accuracyOptional. Enter the radius of uncertainty for the location. Measured in meters. Valid values are 0-1500.
Live periodOptional. Enter the period for which the location is updated. Measured in seconds. Valid values are 60-86400.
HeadingOptional. Enter the direction the user is moving. Measured in degrees. Valid values are 1-360. Only used for live locations.
Proximity alert radiusOptional. Enter the maximum distance for proximity alerts about approaching another chat member. Measured in meters. Only used for live locations.
Disable notificationOptional. Select whether to send the message silently.
Protect contentOptional. Select whether to protect the message content from forwarding and saving.
Reply markupOptional. Enter a JSON-serialized inline keyboard, custom reply keyboard, or other reply markup object.

Output

This action returns the sent message. Refer to the Telegram Bot API Message documentation for more information on available output fields.

Output fieldDescription
Message IDThe message's unique identifier inside the chat.
FromThe bot that sent the message.
ChatThe chat the message was sent to.
DateThe Unix timestamp the message was sent.
LocationThe sent location's latitude and longitude.

Last updated: