get_nearby_chats()

Client.get_nearby_chats()

Get nearby chats.

Parameters
  • latitude (float) – Latitude of the location.

  • longitude (float) – Longitude of the location.

Returns

List of Chat – On success, a list of nearby chats is returned.

Example

chats = app.get_nearby_chats(51.500729, -0.124583)
print(chats)