mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image |
---|---|---|---|
updatePeerBlocked | We blocked a peer, see here » for more info on blocklists. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updatePeerBlocked
We blocked a peer, see here » for more info on blocklists.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
blocked | Bool | Optional | Whether the peer was blocked or unblocked |
blocked_my_stories_from | Bool | Optional | Whether the peer was added/removed to/from the story blocklist; if not set, this update affects the main blocklist, see here » for more info. |
peer_id | Peer | Yes | The (un)blocked peer |
Type: Update
Example:
$updatePeerBlocked = ['_' => 'updatePeerBlocked', 'blocked' => Bool, 'blocked_my_stories_from' => Bool, 'peer_id' => Peer];