edit_chat_location()¶
- async Client.edit_chat_location()¶
Edit the location of a geogroup.
- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target supergroup.latitude (
float) – Latitude of the new location.longitude (
float) – Longitude of the new location.address (
str) – Address of the new location.
- Returns:
bool– True on success.
Example
await app.edit_chat_location(chat_id, 37.7749, -122.4194, "San Francisco, CA")