contacts.block

Adds the user to the blacklist.

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
contacts.block#332b49fc id:InputUser = Bool;

Parameters

Name Type Description
id InputPeer User ID

Result

Bool

Possible errors

Code Type Description
400 CONTACT_ID_INVALID The provided contact ID is invalid.
400 INPUT_USER_DEACTIVATED The specified user was deleted.
400 MSG_ID_INVALID Invalid message ID provided.
400 PEER_ID_INVALID The provided peer id is invalid.
Наверх