channels.EditLocation

class pyrogram.raw.functions.channels.EditLocation

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

Details:
  • Layer: 223

  • ID: 58E63F6D

Parameters:
Returns:

bool

TL Schema

channels.editLocation#58e63f6d
channel:InputChannel
geo_point:InputGeoPoint
address:string

= Bool

Parameter Tree

EditLocation
├── channelInputChannel
│ ├── InputChannelEmpty
│ ├── InputChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
├── geo_pointInputGeoPoint
│ ├── InputGeoPointEmpty
│ └── InputGeoPoint
│ ├── latdouble
│ ├── longdouble
│ └── accuracy_radiusint (optional)
└── addressstring

Example

await app.invoke(
    EditLocation(
        channel=await app.resolve_channel(chat_id),
        geo_point=InputGeoPointEmpty(),
        address="text",
    )
)