Skip to content

Commit

Permalink
Geochats
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jun 24, 2019
1 parent 0c28cca commit cbd913f
Show file tree
Hide file tree
Showing 1,528 changed files with 56,689 additions and 312 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: channelAdminLogEventActionChangeLocation
description: Channel location changed
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionChangeLocation
[Back to constructors index](index.md)



Channel location changed

### Attributes:

| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|prev\_value|[ChannelLocation](../types/ChannelLocation.md) | Optional|Previous value|
|new\_value|[ChannelLocation](../types/ChannelLocation.md) | Optional|New value|



### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)


### Example:

```php
$channelAdminLogEventActionChangeLocation = ['_' => 'channelAdminLogEventActionChangeLocation', 'prev_value' => ChannelLocation, 'new_value' => ChannelLocation];
```


Or, if you're into Lua:

```lua
channelAdminLogEventActionChangeLocation={_='channelAdminLogEventActionChangeLocation', prev_value=ChannelLocation, new_value=ChannelLocation}

```


6 changes: 4 additions & 2 deletions docs/API_docs/constructors/channelFull.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Full channel
|can\_set\_stickers|[Bool](../types/Bool.md) | Optional|Can set group stickerset?|
|hidden\_prehistory|[Bool](../types/Bool.md) | Optional|Hidden prehistory?|
|can\_view\_stats|[Bool](../types/Bool.md) | Optional|Can view stats?|
|can\_set\_location|[Bool](../types/Bool.md) | Optional|Can set location?|
|id|[int](../types/int.md) | Yes|ID|
|about|[string](../types/string.md) | Yes|About|
|participants\_count|[int](../types/int.md) | Optional|Participants count|
Expand All @@ -40,6 +41,7 @@ Full channel
|available\_min\_id|[int](../types/int.md) | Optional|Available min ID|
|folder\_id|[int](../types/int.md) | Optional|Folder ID|
|linked\_chat\_id|[int](../types/int.md) | Optional|Linked chat ID|
|location|[ChannelLocation](../types/ChannelLocation.md) | Optional|Location|
|pts|[int](../types/int.md) | Yes|PTS|


Expand All @@ -50,14 +52,14 @@ Full channel
### Example:

```php
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'can_view_stats' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'online_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int, 'folder_id' => int, 'linked_chat_id' => int, 'pts' => int];
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'can_view_stats' => Bool, 'can_set_location' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'online_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int, 'folder_id' => int, 'linked_chat_id' => int, 'location' => ChannelLocation, 'pts' => int];
```


Or, if you're into Lua:

```lua
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=Bool, can_view_stats=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_count=int, online_count=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int, stickerset=StickerSet, available_min_id=int, folder_id=int, linked_chat_id=int, pts=int}
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=Bool, can_view_stats=Bool, can_set_location=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_count=int, online_count=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int, stickerset=StickerSet, available_min_id=int, folder_id=int, linked_chat_id=int, location=ChannelLocation, pts=int}

```

Expand Down
39 changes: 39 additions & 0 deletions docs/API_docs/constructors/channelLocation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: channelLocation
description: Physical location (getchats)
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelLocation
[Back to constructors index](index.md)



Physical location (getchats)

### Attributes:

| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|geo\_point|[GeoPoint](../types/GeoPoint.md) | Optional|Geo point|
|address|[string](../types/string.md) | Yes|Physical address|



### 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'}

```


33 changes: 33 additions & 0 deletions docs/API_docs/constructors/channelLocationEmpty.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: channelLocationEmpty
description: No physical location (normal chat/channel)
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelLocationEmpty
[Back to constructors index](index.md)



No physical location (normal chat/channel)




### Type: [ChannelLocation](../types/ChannelLocation.md)


### Example:

```php
$channelLocationEmpty = ['_' => 'channelLocationEmpty'];
```


Or, if you're into Lua:

```lua
channelLocationEmpty={_='channelLocationEmpty'}

```


33 changes: 0 additions & 33 deletions docs/API_docs/constructors/contactLinkContact.md

This file was deleted.

33 changes: 0 additions & 33 deletions docs/API_docs/constructors/contactLinkNone.md

This file was deleted.

33 changes: 0 additions & 33 deletions docs/API_docs/constructors/contactLinkUnknown.md

This file was deleted.

40 changes: 0 additions & 40 deletions docs/API_docs/constructors/contacts_link.md

This file was deleted.

Loading

0 comments on commit cbd913f

Please sign in to comment.