MadelineProtoDocs/old_docs/API_docs_v109/constructors/contacts.blockedSlice.md

42 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2020-03-06 12:24:14 +01:00
---
title: contacts.blockedSlice
description: Incomplete list of blocked users.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/contacts_blockedSlice.html
---
# Constructor: contacts.blockedSlice
[Back to constructors index](index.md)
Incomplete list of blocked users.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|count|[int](../types/int.md) | Yes|Total number of elements in the list|
|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked|
|users|Array of [User](../types/User.md) | Yes|Users|
### Type: [contacts.Blocked](../types/contacts.Blocked.md)
### Example:
```php
$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]];
```
Or, if you're into Lua:
```lua
contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}}
```