Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of SEND Location Telegram message #317

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

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