37 lines
612 B
Markdown
37 lines
612 B
Markdown
|
---
|
||
|
title: peerSelfLocated
|
||
|
description: peerSelfLocated attributes, type and example
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: peerSelfLocated
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|expires|[int](../types/int.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [PeerLocated](../types/PeerLocated.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$peerSelfLocated = ['_' => 'peerSelfLocated', 'expires' => int];
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
peerSelfLocated={_='peerSelfLocated', expires=int}
|
||
|
|
||
|
```
|
||
|
|
||
|
|