Fix the Location declaration (#3555)
Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
This commit is contained in:
parent
e62f15edf3
commit
3836309f99
2 changed files with 5 additions and 1 deletions
5
index.d.ts
vendored
5
index.d.ts
vendored
|
|
@ -1033,7 +1033,10 @@ declare namespace WAWebJS {
|
||||||
export class Location {
|
export class Location {
|
||||||
latitude: string;
|
latitude: string;
|
||||||
longitude: string;
|
longitude: string;
|
||||||
options?: LocationSendOptions;
|
name?: string;
|
||||||
|
address?: string;
|
||||||
|
url?: string;
|
||||||
|
description?: string;
|
||||||
|
|
||||||
constructor(latitude: number, longitude: number, options?: LocationSendOptions)
|
constructor(latitude: number, longitude: number, options?: LocationSendOptions)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
* @property {string} [name] Location name
|
* @property {string} [name] Location name
|
||||||
* @property {string} [address] Location address
|
* @property {string} [address] Location address
|
||||||
* @property {string} [url] URL address to be shown within a location message
|
* @property {string} [url] URL address to be shown within a location message
|
||||||
|
* @property {string} [description] Location full description
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue