Zalo User Interact icon

Zalo User Interact

Gửi tin nhắn và tương tác với Zalo User

Friend → Block User

AI-generated

Overview

This node operation allows users to block a specific friend on the Zalo platform by providing the User Id of the Zalo user to be blocked. It is useful in scenarios where a user wants to prevent another user from interacting with them on Zalo, such as stopping unwanted messages or contacts.

Use Case Examples

  1. Blocking a user who is sending spam messages.
  2. Preventing a user from viewing your profile or contacting you.

Properties

Name Meaning
User Id The unique identifier of the Zalo user to be blocked.

Output

JSON

  • success - Indicates whether the block operation was successful.
  • blockedUserId - The User Id of the user who was blocked.

Dependencies

  • Requires Zalo API access with appropriate authentication credentials.

Troubleshooting

  • Ensure the User Id provided is valid and corresponds to an existing Zalo user.
  • Check that the API credentials have the necessary permissions to block users.
  • Common errors include invalid User Id, insufficient permissions, or network issues. Verify API response messages for specific error details and adjust inputs or credentials accordingly.

Links

Discussion