695 B
695 B
title | description | image |
---|---|---|
updatePeerBlocked | updatePeerBlocked attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updatePeerBlocked
Attributes:
Name | Type | Required |
---|---|---|
peer_id | Peer | Yes |
blocked | Bool | Yes |
Type: Update
Example:
$updatePeerBlocked = ['_' => 'updatePeerBlocked', 'peer_id' => Peer, 'blocked' => Bool];
Or, if you're into Lua:
updatePeerBlocked={_='updatePeerBlocked', peer_id=Peer, blocked=Bool}