Skip to main content
Version: 3.0.0

📍 Send Location

Send specific location to user.

await whatsapp.sendLocation(
phoneNumber: 'PHONE_NUMBER',
latitude: 25.197197,
longitude: 55.2743764,
name: "Burj Khalifa",
address:"1 Sheikh Mohammed bin, United Arab Emirates"
);
paramtyperequireddescription
phoneNumberStringyesPhone number with county code and plus.
latitudedoubleyesLocation Latitude
longitudedoubleyesLocation Longitude
nameStringnoLocation Name
addressStringnoLocation Address