contacts.unblock #

Deletes a peer from a blocklist, see here » for more info.

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
contacts.unblock#b550d328 flags:# my_stories_from:flags.0?true id:InputPeer = Bool;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
my_stories_fromflags.0?trueWhether the peer should be removed from the story blocklist; if not set, the peer will be removed from the main blocklist, see here » for more info.
idInputPeerPeer

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHANNEL_PRIVATEYou haven't joined this channel/supergroup.
400CONTACT_ID_INVALIDThe provided contact ID is invalid.
400MSG_ID_INVALIDInvalid message ID provided.
400PEER_ID_INVALIDThe provided peer id is invalid.

Blocked users #

Working with the blocklist.