Zalo Hội Thoại by diginno.net icon

Zalo Hội Thoại by diginno.net

Quản lý hội thoại Zalo: Ẩn, Ghim, Tắt thông báo, Tự động xóa by diginno.net

Quản Lý Chat → Xóa Cuộc Hội Thoại

AI-generated

Overview

This node operation allows users to delete a chat conversation in the Zalo chat management system. It requires the user to provide the ID of the chat thread and specify the type of chat (either individual user or group). This operation is useful for managing and cleaning up chat histories by removing unwanted or obsolete conversations.

Use Case Examples

  1. A user wants to delete a specific chat conversation with a friend by providing the chat thread ID and selecting 'Người Dùng' (User) as the chat type.
  2. An admin wants to delete a group chat conversation by specifying the group chat thread ID and selecting 'Nhóm' (Group) as the chat type.

Properties

Name Meaning
ID Cuộc Hội Thoại The unique identifier of the chat conversation to be deleted.
Loại Cuộc Hội Thoại The type of chat conversation, either individual user (0) or group (1).

Output

JSON

  • json - The JSON response from the delete chat operation, typically containing success or error information.

Dependencies

  • Requires valid Zalo API credentials (cookie, imei, userAgent) to authenticate and perform the delete operation.

Troubleshooting

  • Common issues include invalid or missing chat thread ID, incorrect chat type selection, or authentication failures due to invalid credentials.
  • Error messages may indicate 'No API instance found' if credentials are not properly provided, or 'Unknown operation' if the operation parameter is incorrect.
  • To resolve errors, ensure that the chat thread ID and type are correctly specified and that valid Zalo API credentials are configured in the node settings.

Links

Discussion