contacts.SetBlocked

class pyrogram.raw.functions.contacts.SetBlocked

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

Details:
  • Layer: 187

  • ID: 94C65C76

Parameters:
  • id (List of InputPeer) – Full content of the blocklist.

  • limit (int 32-bit) – Maximum number of results to return, see pagination

  • my_stories_from (bool, optional) – Whether to edit the story blocklist; if not set, will edit the main blocklist. See here » for differences between the two.

Returns:

bool