Use this method to send point on the map. On success, the sent Message is returned.
post/sendLocation
Request body
latitudenumber required
Latitude of the location
longitudenumber required
Longitude of the location
horizontal_accuracynumber
The radius of uncertainty for the location, measured in meters; 0-1500
live_periodinteger
Period in seconds for which the location will be updated (see Live Locations, should be between 60 and 86400.
headinginteger
For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
proximity_alert_radiusinteger
For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
disable_notificationboolean
Sends the message silently. Users will receive a notification with no sound.
reply_to_message_idinteger
If the message is a reply, ID of the original message
allow_sending_without_replyboolean
Pass True, if the message should be sent even if the specified replied-to message is not found