contacts.Block

class pyrogram.raw.functions.contacts.Block

Adds a peer to a blocklist, see here » for more info.

Details:
  • Layer: 187

  • ID: 2E2E8734

Parameters:
  • id (InputPeer) – Peer

  • my_stories_from (bool, optional) – Whether the peer should be added to the story blocklist; if not set, the peer will be added to the main blocklist, see here » for more info.

Returns:

bool