2019-08-15 20:25:16 +02:00
|
|
|
---
|
|
|
|
title: channelLocation
|
2019-12-27 17:48:04 +01:00
|
|
|
description: Geographical location of supergroup (geogroups)
|
2019-08-15 20:25:16 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: channelLocation
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
Geographical location of supergroup (geogroups)
|
2019-08-15 20:25:16 +02:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
2019-12-27 17:48:04 +01:00
|
|
|
|geo\_point|[GeoPoint](../types/GeoPoint.md) | Optional|Geographical location of supergrup|
|
|
|
|
|address|[string](../types/string.md) | Yes|Textual description of the address|
|
2019-08-15 20:25:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [ChannelLocation](../types/ChannelLocation.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$channelLocation = ['_' => 'channelLocation', 'geo_point' => GeoPoint, 'address' => 'string'];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
channelLocation={_='channelLocation', geo_point=GeoPoint, address='string'}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|