blockUser

Chặn người dùng

api.blockUser(userId)

Parameters

  • userId string

Return

Promise<BlockUserResponse>

Examples

const userId = "0000000000000000001";
api
    .blockUser(userId)
    .then(console.log).catch(console.error);

Last updated