API Reference

📍 Send location message

Method responsible for sending a fixed location to your contacts, it is mostly used to send an address’s location

Log in to see full request history
Body Params

Message location

string
required

Use the phone number or Chat ID of the contact/group/channel to which you want to send the message. Use Get groups to get the group ID.

string

Message ID of the message to be quoted

integer
1 to 604800

Time in seconds for the message to be deleted. The Disappearing messages setting should be enabled in the chat where you are sending this message.

string

Message ID of the message to be edited

double
required

Latitude of location being sent

double
required

Longitude of location being sent

string

Address of the location

string

Name of the location

string

URL for the website where the user downloaded the location information

string

Optional. Base64 encoded preview of the media. In JPEG format.

int32

Accuracy of the location in meters

int32

Speed of the location in meters per second

int32

Degrees clockwise from true north

string

Optional. Comment for the location

boolean

Is view once

Responses

Language
Credentials
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json