channels.editLocation
Edit location of geogroup, see here » for more info on geogroups.
Edit location of geogroup, see [here »](https://core.telegram.org/api/nearby.md) for more info on geogroups.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
channel | InputChannel | أيوه | [Geogroup](https://core.telegram.org/api/channel.md) |
geo_point | InputGeoPoint | أيوه | New geolocation |
address | string | أيوه | Address string |
الردود
Bool
MTProto RPC
- 400 · CHANNEL_INVALID — The provided channel is invalid.
- 400 · CHAT_ADMIN_REQUIRED — You must be an admin in this chat to do this.
- 400 · CHAT_NOT_MODIFIED — No changes were made to chat information because the new information you passed is identical to the current information.
- 400 · MEGAGROUP_GEO_REQUIRED — This method can only be invoked on a geogroup.
- 400 · MEGAGROUP_REQUIRED — You can only use this method on a supergroup.