MadelineProtoDocs/docs/API_docs/constructors/peerBlocked.md

38 lines
650 B
Markdown
Raw Normal View History

2020-10-01 18:05:42 +02:00
---
title: peerBlocked
description: peerBlocked attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: peerBlocked
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|peer\_id|[Peer](../types/Peer.md) | Yes|
|date|[int](../types/int.md) | Yes|
### Type: [PeerBlocked](../types/PeerBlocked.md)
### Example:
```php
$peerBlocked = ['_' => 'peerBlocked', 'peer_id' => Peer, 'date' => int];
```
Or, if you're into Lua:
```lua
peerBlocked={_='peerBlocked', peer_id=Peer, date=int}
```