Raw.UpdatePeerBlocked
We blocked a peer, see here for more info on blocklists.
updatePeerBlocked#ebe07752 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true peer_id:Peer = Update;
export namespace Raw {
export class UpdatePeerBlocked {
constructor(params: {
blocked?: boolean;
blockedMyStoriesFrom?: boolean;
peerId: Raw.TypePeer;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xebe07752
Property
blocked
: boolean or undefinedWhether the peer was blocked or unblocked
blockedMyStoriesFrom
: boolean or undefinedWhether 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
: Raw.TypePeerThe (un)blocked peer