Skip to content

Conversation

mrcarrera24
Copy link

Added the Telegram sendLocation message to the Universal-Arduino-Telegram-Bot code. Prototype of the function is as follows:

bool sendLocation(const String& chat_id, const float latitude, const float longitude, const uint16_t live_period=0);

Location.ino examples under ESP32 and ESP8266 have been modified to also include the sendLocation message.

Tested this implementation of sendLocation command and seems to to work well.

@witnessmenow
Copy link
Owner

Cool feature! Does this add a new location everytime or does it just update one?

@mrcarrera24
Copy link
Author

Cool feature! Does this add a new location everytime or does it just update one?

Current version adds a new location everytime. I'm looking for some spare time to make the update version.

@mateustoin
Copy link

mateustoin commented Nov 3, 2024

This is a very cool feature and helped me a lot! Don't know why this is still open, but I think it would help a lot of people who doesn't know how to search/add commits manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants