account.UpdateBusinessLocation
- class pyrogram.raw.functions.account.UpdateBusinessLocation
Businesses » may advertise their location using this method, see here » for more info.
- Details:
Layer:
223ID:
9E6B131A
- Parameters:
geo_point (
InputGeoPoint, optional) – Optional, contains a set of geographical coordinates.address (
str, optional) – Mandatory when setting/updating the location, contains a textual description of the address (max 96 UTF-8 chars).
- Returns:
bool
TL Schema
account.updateBusinessLocation#9e6b131a
flags:#
geo_point:flags.1?InputGeoPoint
address:flags.0?string
= Bool
Parameter Tree
UpdateBusinessLocation
├── geo_point →
InputGeoPoint (optional)│ ├──
InputGeoPointEmpty│ └──
InputGeoPoint│ ├── lat →
double│ ├── long →
double│ └── accuracy_radius →
int (optional)└── address →
string (optional)Example
await app.invoke(
UpdateBusinessLocation(
geo_point=InputGeoPointEmpty(),
address="text",
)
)