channels.editLocation #

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

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint address:string = Bool;

Parameters #

NameTypeDescription
channelInputChannelGeogroup
geo_pointInputGeoPointNew geolocation
addressstringAddress string

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid.
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
400CHAT_NOT_MODIFIEDNo changes were made to chat information because the new information you passed is identical to the current information.
400MEGAGROUP_GEO_REQUIREDThis method can only be invoked on a geogroup.
400MEGAGROUP_REQUIREDYou can only use this method on a supergroup.

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.