contacts.setBlocked

Replace the contents of an entire blocklist, see here for more info ».

 Method schema is available as of layer 161. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
my_stories_from flags.0?true Whether to edit the story blocklist; if not set, will edit the main blocklist. See here » for differences between the two.
id Vector<InputPeer> Full content of the blocklist.
limit int Maximum number of results to return, see pagination

Result

Bool

Related pages

Blocklist

Working with the blocklist.

Pagination in the API

How to fetch results from large lists of objects.