contacts.setBlocked #

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

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
contacts.setBlocked#94c65c76 flags:# my_stories_from:flags.0?true id:Vector<InputPeer> limit:int = Bool;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
my_stories_fromflags.0?trueWhether to edit the story blocklist; if not set, will edit the main blocklist. See here » for differences between the two.
idVector<InputPeer>Full content of the blocklist.
limitintMaximum number of results to return, see pagination

Result #

Bool

Only users can use this method #

Blocked users #

Working with the blocklist.

Pagination in the API #

How to fetch results from large lists of objects.