updatePeerBlocked
We blocked a peer, see here » for more info on blocklists.
type tg.UpdatePeerBlocked struct { /* ... */ }
Implements Update.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Blocked | bool | — | Whether the peer was blocked or unblocked |
BlockedMyStoriesFrom | bool | — | 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. |
PeerID | PeerClass | yes | The (un)blocked peer |
References
- Official documentation
- Generated Go reference
- TL definition:
updatePeerBlocked#ebe07752