channels.editLocation

Edit location of geogroup, see here » for more info on geogroups.

 Method schema is available as of layer 102. Switch »

Parameters

Name Type Description
channel InputChannel Geogroup
geo_point InputGeoPoint New geolocation
address string Address string

Result

Bool

Possible errors

Code Type Description
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.

Related pages

Channels, supergroups, gigagroups and basic groups

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.

Nearby users&chats

How to work with geolocation-based features like geochats and the nearby users feature.