channels.EditLocation

class pyrogram.raw.functions.channels.EditLocation

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

Details:
  • Layer: 227

  • ID: 58E63F6D

Parameters:
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
│ ├── 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 → string

Example

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