channels.EditLocation
- class pyrogram.raw.functions.channels.EditLocation
Edit location of geogroup, see here » for more info on geogroups.
- Details:
Layer:
223ID:
58E63F6D
- Parameters:
channel (
InputChannel) – Geogroupgeo_point (
InputGeoPoint) – New geolocationaddress (
str) – Address string
- Returns:
bool
TL Schema
channels.editLocation#58e63f6d
channel:InputChannel
geo_point:InputGeoPoint
address:string
= Bool
Parameter Tree
EditLocation
├── channel →
InputChannel│ ├──
InputChannelEmpty│ ├──
InputChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ └──
InputChannelFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── geo_point →
InputGeoPoint│ ├──
InputGeoPointEmpty│ └──
InputGeoPoint│ ├── lat →
double│ ├── long →
double│ └── accuracy_radius →
int (optional)└── address →
stringExample
await app.invoke(
EditLocation(
channel=await app.resolve_channel(chat_id),
geo_point=InputGeoPointEmpty(),
address="text",
)
)