Geolocation for



  • Please indicate how best to read the geolocation coordinates of the user in the telegram belt. Thank you.



  • First, the type of object needs to be determined Messsagethat you've got. If type Location♪ you work with his fields ♪ longitude and latitude - that's the coordinates given by the user.
    You can see. https://core.telegram.org/bots/api :
    Subject https://core.telegram.org/bots/api#message
    Type https://core.telegram.org/bots/api#location




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2