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

Tự Động Xóa → Cài Đặt Tự Động Xóa

AI-generated

Overview

This node manages the auto-delete settings for Zalo chat conversations. It allows users to configure the automatic deletion time (TTL) for messages in a specific chat thread, identified by its thread ID and type (user or group). This is useful for scenarios where users want to automatically clear chat history after a certain period to maintain privacy or reduce clutter. For example, setting a TTL of 3600 seconds will auto-delete messages after 1 hour.

Use Case Examples

  1. Set auto-delete for a user chat thread with a TTL of 1 hour (3600 seconds).
  2. Disable auto-delete for a group chat by setting TTL to 0.

Properties

Name Meaning
ID Cuộc Hội Thoại The ID of the chat conversation to configure auto-delete for.
Loại Cuộc Hội Thoại The type of chat conversation, either user (0) or group (1).
Thời Gian (Giây) The time in seconds after which messages will be auto-deleted. 0 disables auto-delete. For example, 3600 means 1 hour, 86400 means 1 day.

Output

JSON

  • json - The response from the Zalo API regarding the auto-delete setting update.

Dependencies

  • Requires Zalo API credentials (cookie, imei, userAgent) for authentication.

Troubleshooting

  • Ensure valid Zalo API credentials are provided; otherwise, the node will throw an error indicating missing API instance.
  • If the operation or resource is unknown or unsupported, the node will throw an error specifying the invalid operation or resource.
  • Check that the threadId and threadType are correctly set; invalid values may cause API call failures.

Links

Discussion