MadelineProtoDocs/old_docs/API_docs_v21/constructors/contacts.blocked.md

41 lines
924 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: contacts.blocked
description: Full list of blocked users.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/contacts_blocked.html
---
# Constructor: contacts.blocked
[Back to constructors index](index.md)
Full list of blocked users.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|List of blocked users|
|users|Array of [User](../types/User.md) | Yes|List of users|
### Type: [contacts.Blocked](../types/contacts.Blocked.md)
### Example:
```php
$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]];
```
Or, if you're into Lua:
```lua
contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}}
```