Expand description
Location handling.
Structs
- KML document.
- Location record.
Enums
- KmlTag 🔒
Functions
- Deletes all locations from the database.
- Returns
location.kml
contents. - Returns a KML document containing a single location with the given timestamp and coordinates.
- Searches for locations in the given time range, optionally filtering by chat and contact IDs.
- Returns whether
chat_id
or any chat is sending locations. - Returns number of seconds until the next time location streaming for some chat ends automatically.
- save 🔒Saves given locations to the database.
- Enables location streaming in chat identified by
chat_id
forseconds
seconds. - Sets current location of the user device.
- Sets the timestamp of the last time location was sent in the chat.
- Sets the location of the message.