MadelineProtoDocs/docs/API_docs/constructors/contacts.blockedSlice.md

1.1 KiB

title description image redirect_from
contacts.blockedSlice Incomplete list of blocked users. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/contacts_blockedSlice.html

Constructor: contacts.blockedSlice

Back to constructors index

Incomplete list of blocked users.

Attributes:

Name Type Required Description
count int Yes Total number of elements in the list
blocked Array of PeerBlocked Yes List of blocked users
chats Array of Chat Yes
users Array of User Yes List of users

Type: contacts.Blocked

Example:

$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [PeerBlocked, PeerBlocked], 'chats' => [Chat, Chat], 'users' => [User, User]];

Or, if you're into Lua:

contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={PeerBlocked}, chats={Chat}, users={User}}