Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

Create my state command #84

Closed
rahgurung opened this issue Sep 6, 2020 · 3 comments · Fixed by #88
Closed

Create my state command #84

rahgurung opened this issue Sep 6, 2020 · 3 comments · Fixed by #88
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rahgurung
Copy link
Member

This will get the location of the user and send the /state_name command results.

Refer: https://core.telegram.org/bots#location-and-number

@rahgurung rahgurung added enhancement New feature or request help wanted Extra attention is needed labels Sep 6, 2020
@baljinderxd
Copy link
Contributor

baljinderxd commented Sep 10, 2020

  1. I implemented this and successfully received the location from the user.
    But the received location object contains only longitude and latitude and I am not aware of how to get the name of the state using the coordinates only.
    I will try to find something for the same, and if you know something about it please do share 😬

  2. Location sharing is not available on telegram desktop so I think this command will work only on mobile phones.

@rahgurung
Copy link
Member Author

  1. Many free API services are available for that like this.

  2. Yes, we can take that.

@baljinderxd
Copy link
Contributor

  1. Many free API services are available for that like this.

Oh, thanks I will use this 😄

  1. Yes, we can take that.

💯 💯

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants