Skip to content

More properties for $bot->getLocation() method #3

@tanftw

Description

@tanftw

By default:

$bot->getLocation() -> returns {lat: xxx, long: xxx}

$bot->getLocation('lat'); -> returns latitude

$bot->getLocation('long'); -> returns longitude

Now we support Google Geolocation

$bot->getLocation('postal_code'); -> returns postal code
$bot->getLocation('country'); -> returns country
$bot->getLocation('state + " " + country'); -> returns state country

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions