Link Search Menu Expand Document

Constructor: updatePeerBlocked

Back to constructors index

We blocked a peer, see here » for more info on blocklists.

Attributes:

NameTypeRequiredDescription
blockedBoolOptionalWhether the peer was blocked or unblocked
blocked_my_stories_fromBoolOptionalWhether 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_idPeerYesThe (un)blocked peer

Type: Update

Example:

$updatePeerBlocked = ['_' => 'updatePeerBlocked', 'blocked' => Bool, 'blocked_my_stories_from' => Bool, 'peer_id' => Peer];