contacts.Block¶ class pyrogram.raw.functions.contacts.Block[source]¶ Adds a peer to a blocklist, see here » for more info. Usable by Users Bots Details: Layer: 229 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