SendLocationMessage

Sends a location message to the specified contact's phone number.

Double lat: The latitude of the location to be sent.

Double lon: The longitude of the location to be sent.

String name: The name of the location (e.g., a place or landmark).

String address: The address of the location.

WpResponse response: An object containing the response from the messaging service.

WpResponse response =  SendLocationMessage(lat, lon, name, address);

Overloads of this function are available in BaseWhatsAppDialog class.

Last updated