UNPKG

n8n-nodes-zalo-nnt

Version:

Unofficial Zalo integration for n8n - Send messages, manage groups, user operations with QR login. No API key required, works via browser simulation.

1,372 lines 40.1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.zaloGroupProperties = void 0; const branding_1 = require("../shared/branding"); exports.zaloGroupProperties = [ branding_1.BRANDING_CONFIG, { displayName: 'Resource', name: 'resource', type: 'options', noDataExpression: true, options: [ { name: 'Nhóm', value: 'group', }, { name: 'Thành Viên', value: 'member', }, { name: 'Cài ĐặT', value: 'settings', }, { name: 'Kiểm Duyệt', value: 'moderation', }, { name: 'Nội Dung', value: 'content', }, { name: 'Link Mời', value: 'link', }, { name: 'Hộp Thư Mời', value: 'inviteBox', }, ], default: 'group', }, { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['group'], }, }, options: [ { name: 'Tạo Nhóm', value: 'create', description: 'Tạo một nhóm mới', action: 'Tạo nhóm', }, { name: 'Lấy Thông Tin', value: 'get', description: 'Lấy thông tin chi tiết của một nhóm', action: 'Lấy thông tin nhóm', }, { name: 'Lấy Nhiều Nhóm', value: 'getMany', description: 'Lấy danh sách tất cả các nhóm', action: 'Lấy nhiều nhóm', }, { name: 'Tham Gia Nhóm', value: 'join', description: 'Tham gia nhóm bằng link mời', action: 'Tham gia nhóm', }, { name: 'Rời Nhóm', value: 'leave', description: 'Rời khỏi một nhóm', action: 'Rời nhóm', }, ], default: 'get', }, { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['member'], }, }, options: [ { name: 'Thêm Thành Viên', value: 'add', description: 'Thêm thành viên vào nhóm', action: 'Thêm thành viên', }, { name: 'Xóa Thành Viên', value: 'remove', description: 'Xóa thành viên khỏi nhóm', action: 'Xóa thành viên', }, { name: 'Thay Thành Viên', value: 'replace', description: 'Xóa thành viên cũ rồi thêm thành viên mới bằng UID hoặc số điện thoại', action: 'Thay thành viên', }, { name: 'Mời Vào Nhiều Nhóm', value: 'inviteToMany', description: 'Mời một người dùng vào nhiều nhóm', action: 'Mời vào nhiều nhóm', }, { name: 'Thêm Phó Nhóm', value: 'promoteDeputy', description: 'Thêm phó nhóm (admin)', action: 'Thêm phó nhóm', }, { name: 'Gỡ Phó Nhóm', value: 'removeDeputy', description: 'Gỡ vai trò phó nhóm (admin) của một hoặc nhiều thành viên', action: 'Gỡ phó nhóm', }, { name: 'Chuyển Quyền Trưởng Nhóm', value: 'changeOwner', description: 'Chuyển quyền trưởng nhóm cho thành viên khác', action: 'Chuyển quyền trưởng nhóm', }, { name: 'Lấy Thông Tin Chi Tiết Thành Viên', value: 'getMembersInfo', description: 'Lấy hồ sơ chi tiết của một hoặc nhiều thành viên', action: 'Lấy thông tin chi tiết thành viên', }, ], default: 'add', }, { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['settings'], }, }, options: [ { name: 'Đổi Tên Nhóm', value: 'updateName', description: 'Đổi tên của nhóm', action: 'Đổi tên nhóm', }, { name: 'Đổi Avatar Nhóm', value: 'updateAvatar', description: 'Đổi avatar của nhóm', action: 'Đổi avatar nhóm', }, { name: 'Nâng Cấp Lên Cộng Đồng', value: 'upgradeToCommunity', description: 'Nâng cấp nhóm lên cộng đồng (community)', action: 'Nâng cấp lên cộng đồng', }, { name: 'Cập Nhật Cài Đặt Nhóm', value: 'updateGroupSettings', description: 'Cập nhật các quyền/khóa trong nhóm (chặn đổi tên, duyệt thành viên, v.v.)', action: 'Cập nhật cài đặt nhóm', }, { name: 'Giải Tán Nhóm', value: 'disperseGroup', description: 'Giải tán (xóa vĩnh viễn) nhóm — không thể hoàn tác', action: 'Giải tán nhóm', }, ], default: 'updateName', }, { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['moderation'], }, }, options: [ { name: 'Lấy DS Bị Chặn', value: 'getBlocked', description: 'Lấy danh sách thành viên bị chặn', action: 'Lấy danh sách bị chặn', }, { name: 'Chặn Thành Viên', value: 'block', description: 'Chặn một hoặc nhiều thành viên', action: 'Chặn thành viên', }, { name: 'Bỏ Chặn Thành Viên', value: 'unblock', description: 'Bỏ chặn một hoặc nhiều thành viên', action: 'Bỏ chặn thành viên', }, { name: 'Lấy Yêu Cầu Chờ Duyệt', value: 'getPending', description: 'Lấy danh sách yêu cầu tham gia nhóm chờ duyệt', action: 'Lấy yêu cầu chờ duyệt', }, { name: 'Duyệt Yêu Cầu', value: 'review', description: 'Phê duyệt hoặc từ chối yêu cầu tham gia nhóm', action: 'Duyệt yêu cầu', }, ], default: 'getPending', }, { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['content'], }, }, options: [ { name: 'Tạo Ghi Chú', value: 'createNote', description: 'Tạo ghi chú trong nhóm (có thể ghim)', action: 'Tạo ghi chú', }, { name: 'Lấy Lịch Sử Chat', value: 'getChatHistory', description: 'Lấy lịch sử tin nhắn trong nhóm', action: 'Lấy lịch sử chat', }, { name: 'Sửa Ghi Chú', value: 'editNote', description: 'Sửa một ghi chú đã tồn tại trong nhóm', action: 'Sửa ghi chú', }, { name: 'Lấy Bảng Ghi Chú/Bình Chọn/Ghim', value: 'getListBoard', description: 'Lấy danh sách ghi chú, bình chọn, tin nhắn đã ghim trong nhóm', action: 'Lấy bảng nội dung nhóm', }, { name: 'Lấy Bảng Của Cuộc Trò Chuyện', value: 'getFriendBoardList', description: 'Lấy bảng nội dung của một cuộc trò chuyện cá nhân hoặc nhóm', action: 'Lấy bảng của cuộc trò chuyện', }, ], default: 'createNote', }, { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['link'], }, }, options: [ { name: 'Lấy Thông Tin Từ Link', value: 'getInfo', description: 'Lấy thông tin nhóm từ link mời', action: 'Lấy thông tin từ link', }, { name: 'Lấy Chi Tiết Link', value: 'getDetail', description: 'Lấy chi tiết link mời của nhóm (cần quyền admin)', action: 'Lấy chi tiết link', }, { name: 'Bật Link Mời', value: 'enable', description: 'Bật link mời cho nhóm (cần quyền admin)', action: 'Bật link mời', }, { name: 'Tắt Link Mời', value: 'disable', description: 'Tắt link mời cho nhóm (cần quyền admin)', action: 'Tắt link mời', }, ], default: 'getInfo', }, { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['inviteBox'], }, }, options: [ { name: 'Lấy Chi Tiết Lời Mời', value: 'getInviteInfo', description: 'Lấy chi tiết một lời mời tham gia nhóm đang chờ', action: 'Lấy chi tiết lời mời', }, { name: 'Lấy Danh Sách Lời Mời', value: 'getInviteList', description: 'Lấy danh sách tất cả lời mời tham gia nhóm đang chờ', action: 'Lấy danh sách lời mời', }, { name: 'Tham Gia Từ Lời Mời', value: 'joinFromInvite', description: 'Tham gia nhóm từ một lời mời đang chờ', action: 'Tham gia từ lời mời', }, { name: 'Xóa/Từ Chối Lời Mời', value: 'deleteInvite', description: 'Xóa hoặc từ chối một hoặc nhiều lời mời tham gia nhóm', action: 'Xóa hoặc từ chối lời mời', }, ], default: 'getInviteList', }, { displayName: 'Tên Nhóm', name: 'groupName', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['group'], operation: ['create'], }, }, description: 'Tên của nhóm mới', }, { displayName: 'Danh Sách UID/SĐT Thành Viên', name: 'userIds', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['group'], operation: ['create'], }, }, description: 'Danh sách UID hoặc số điện thoại Zalo, phân cách bằng dấu phẩy; có thể trộn cả hai loại', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['group'], operation: ['get'], }, }, description: 'ID của nhóm cần lấy thông tin', }, { displayName: 'Lấy Chi Tiết Thành Viên', name: 'includeMembers', type: 'boolean', default: false, displayOptions: { show: { resource: ['group'], operation: ['get'], }, }, description: 'Lấy thông tin chi tiết của tất cả thành viên trong nhóm (display name, avatar, ...)', }, { displayName: 'Giới Hạn Thành Viên', name: 'memberLimit', type: 'number', typeOptions: { minValue: 1, maxValue: 1000, }, default: 100, displayOptions: { show: { resource: ['group'], operation: ['get'], includeMembers: [true], }, }, description: 'Số lượng thành viên tối đa cần lấy thông tin chi tiết (mặc định: 100)', }, { displayName: 'Giới Hạn', name: 'limit', type: 'number', typeOptions: { minValue: 1, }, default: 50, required: true, displayOptions: { show: { resource: ['group'], operation: ['getMany'], }, }, description: 'Max number of results to return', }, { displayName: 'Link Mời Nhóm', name: 'groupLink', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['group'], operation: ['join'], }, }, description: 'Link mời để tham gia nhóm', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['group'], operation: ['leave'], }, }, description: 'ID của nhóm cần rời', }, { displayName: 'Rời Lặng Lẽ', name: 'silent', type: 'boolean', required: true, default: false, displayOptions: { show: { resource: ['group'], operation: ['leave'], }, }, description: 'Rời nhóm mà không thông báo cho thành viên khác', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['add'], }, }, description: 'ID của nhóm', }, { displayName: 'Danh Sách UID/SĐT Thành Viên', name: 'userIds', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['add'], }, }, description: 'Danh sách UID hoặc số điện thoại Zalo, phân cách bằng dấu phẩy; có thể trộn cả hai loại', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['remove'], }, }, description: 'ID của nhóm', }, { displayName: 'Danh Sách UID/SĐT Thành Viên', name: 'userIds', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['remove'], }, }, description: 'Danh sách UID hoặc số điện thoại Zalo cần xóa, phân cách bằng dấu phẩy; có thể trộn cả hai loại', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['replace'], }, }, description: 'ID của nhóm', }, { displayName: 'Thành Viên Cũ (UID/SĐT)', name: 'oldMembers', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['replace'], }, }, description: 'Danh sách UID hoặc số điện thoại cần xóa, phân cách bằng dấu phẩy', }, { displayName: 'Thành Viên Mới (UID/SĐT)', name: 'newMembers', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['replace'], }, }, description: 'Danh sách UID hoặc số điện thoại cần thêm, phân cách bằng dấu phẩy', }, { displayName: 'ID Người Dùng', name: 'userId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['inviteToMany'], }, }, description: 'ID của người dùng cần mời', }, { displayName: 'Danh Sách ID Nhóm', name: 'groupIds', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['inviteToMany'], }, }, description: 'Danh sách ID nhóm, phân cách bằng dấu phẩy', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['promoteDeputy'], }, }, description: 'ID của nhóm', }, { displayName: 'ID Người Dùng', name: 'userId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['promoteDeputy'], }, }, description: 'ID của người dùng cần thêm làm phó nhóm', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['removeDeputy'], }, }, description: 'ID của nhóm', }, { displayName: 'Danh Sách ID Phó Nhóm', name: 'memberIds', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['removeDeputy'], }, }, description: 'Danh sách ID phó nhóm cần gỡ, phân cách bằng dấu phẩy', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['changeOwner'], }, }, description: 'ID của nhóm', }, { displayName: 'ID Trưởng Nhóm Mới', name: 'memberId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['changeOwner'], }, }, description: 'ID của thành viên sẽ trở thành trưởng nhóm mới', }, { displayName: 'Danh Sách ID Thành Viên', name: 'memberIds', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['member'], operation: ['getMembersInfo'], }, }, description: 'Danh sách ID thành viên cần lấy hồ sơ chi tiết, phân cách bằng dấu phẩy', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['settings'], operation: ['updateName'], }, }, description: 'ID của nhóm', }, { displayName: 'Tên Mới', name: 'newName', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['settings'], operation: ['updateName'], }, }, description: 'Tên mới của nhóm', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['settings'], operation: ['updateAvatar'], }, }, description: 'ID của nhóm', }, { displayName: 'URL ẢNh', name: 'imageUrl', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['settings'], operation: ['updateAvatar'], }, }, description: 'URL của ảnh đại diện mới', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['settings'], operation: ['upgradeToCommunity'], }, }, description: 'ID của nhóm cần nâng cấp lên cộng đồng', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['settings'], operation: ['updateGroupSettings'], }, }, description: 'ID của nhóm', }, { displayName: 'Cài Đặt', name: 'groupSettingsOptions', type: 'multiOptions', default: [], displayOptions: { show: { resource: ['settings'], operation: ['updateGroupSettings'], }, }, options: [ { name: 'Bật Duyệt Thành Viên', value: 'joinAppr' }, { name: 'Bật Tin Nhắn Ghim Nổi Bật (Admin)', value: 'signAdminMsg' }, { name: 'Chặn Đổi Tên/Avatar', value: 'blockName' }, { name: 'Chặn Gửi Tin Nhắn', value: 'lockSendMsg' }, { name: 'Chặn Tạo Bình Chọn', value: 'lockCreatePoll' }, { name: 'Chặn Tạo Ghi Chú/Nhắc Hẹn', value: 'lockCreatePost' }, { name: 'Chặn Xem Toàn Bộ Thành Viên', value: 'lockViewMember' }, { name: 'Chỉ Ghim Chủ Đề', value: 'setTopicOnly' }, { name: 'Cho Xem Lịch Sử Tin Nhắn Cũ', value: 'enableMsgHistory' }, ], description: 'Chọn các cài đặt cần BẬT (true) — cài đặt không chọn sẽ không được gửi lên', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['settings'], operation: ['disperseGroup'], }, }, description: 'ID của nhóm cần giải tán (KHÔNG thể hoàn tác)', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['content'], operation: ['createNote'], }, }, description: 'ID của nhóm', }, { displayName: 'Nội Dung Ghi Chú', name: 'content', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['content'], operation: ['createNote'], }, }, description: 'Nội dung của ghi chú', }, { displayName: 'Pin Ghi Chú', name: 'pinAct', type: 'boolean', required: true, default: false, displayOptions: { show: { resource: ['content'], operation: ['createNote'], }, }, description: 'Ghim ghi chú lên đầu nhóm', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['content'], operation: ['editNote'], }, }, description: 'ID của nhóm', }, { displayName: 'ID Chủ Đề (topicId)', name: 'topicId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['content'], operation: ['editNote'], }, }, description: 'ID của ghi chú cần sửa (topicId trong payload upstream)', }, { displayName: 'Tiêu Đề Mới', name: 'content', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['content'], operation: ['editNote'], }, }, description: 'Nội dung/tiêu đề mới của ghi chú', }, { displayName: 'Pin Ghi Chú', name: 'pinAct', type: 'boolean', default: false, displayOptions: { show: { resource: ['content'], operation: ['editNote'], }, }, description: 'Ghim ghi chú lên đầu nhóm', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['content'], operation: ['getListBoard'], }, }, description: 'ID của nhóm', }, { displayName: 'Trang', name: 'page', type: 'number', default: 1, displayOptions: { show: { resource: ['content'], operation: ['getListBoard'], }, }, description: 'Số trang cần lấy', }, { displayName: 'Số Lượng Mỗi Trang', name: 'count', type: 'number', default: 20, displayOptions: { show: { resource: ['content'], operation: ['getListBoard'], }, }, description: 'Số lượng mục tối đa mỗi trang', }, { displayName: 'ID Cuộc Trò Chuyện', name: 'conversationId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['content'], operation: ['getFriendBoardList'], }, }, description: 'ID của cuộc trò chuyện cá nhân hoặc nhóm cần lấy bảng nội dung', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['moderation'], operation: ['getBlocked'], }, }, description: 'ID của nhóm cần lấy danh sách thành viên bị chặn', }, { displayName: 'Trang', name: 'page', type: 'number', default: 1, displayOptions: { show: { resource: ['moderation'], operation: ['getBlocked'], }, }, description: 'Số trang cần lấy (mặc định: 1)', }, { displayName: 'Số Lượng', name: 'count', type: 'number', default: 50, displayOptions: { show: { resource: ['moderation'], operation: ['getBlocked'], }, }, description: 'Số lượng thành viên tối đa cần lấy (mặc định: 50)', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['moderation'], operation: ['block'], }, }, description: 'ID của nhóm', }, { displayName: 'ID Thành Viên', name: 'memberIds', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['moderation'], operation: ['block'], }, }, description: 'ID thành viên cần chặn, phân cách bằng dấu phẩy', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['moderation'], operation: ['unblock'], }, }, description: 'ID của nhóm', }, { displayName: 'ID Thành Viên', name: 'memberIds', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['moderation'], operation: ['unblock'], }, }, description: 'ID thành viên cần bỏ chặn, phân cách bằng dấu phẩy', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['moderation'], operation: ['getPending'], }, }, description: 'ID của nhóm cần lấy danh sách yêu cầu chờ duyệt', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['moderation'], operation: ['review'], }, }, description: 'ID của nhóm', }, { displayName: 'ID Thành Viên', name: 'memberIds', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['moderation'], operation: ['review'], }, }, description: 'ID thành viên cần duyệt, phân cách bằng dấu phẩy', }, { displayName: 'Hành ĐộNg', name: 'action', type: 'options', required: true, default: 'approve', displayOptions: { show: { resource: ['moderation'], operation: ['review'], }, }, options: [ { name: 'Phê Duyệt', value: 'approve', action: 'Phê duyệt moderation', }, { name: 'Từ Chối', value: 'reject', action: 'Từ chối moderation', }, ], description: 'Phê duyệt hoặc từ chối yêu cầu tham gia nhóm', }, { displayName: 'Link Mời Nhóm', name: 'groupLink', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['link'], operation: ['getInfo'], }, }, description: 'Link mời để lấy thông tin nhóm (VD: https://zalo.me/g/...)', }, { displayName: 'Trang Thành Viên', name: 'memberPage', type: 'number', default: 1, displayOptions: { show: { resource: ['link'], operation: ['getInfo'], }, }, description: 'Số trang thành viên cần lấy (mặc định: 1)', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['link'], operation: ['getDetail'], }, }, description: 'ID của nhóm cần lấy thông tin link mời', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['link'], operation: ['enable'], }, }, description: 'ID của nhóm cần bật link mời', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['link'], operation: ['disable'], }, }, description: 'ID của nhóm cần tắt link mời', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['content'], operation: ['getChatHistory'], }, }, description: 'ID của nhóm cần lấy lịch sử chat', }, { displayName: 'Giới Hạn', name: 'limit', type: 'number', typeOptions: { minValue: 1, }, default: 50, displayOptions: { show: { resource: ['content'], operation: ['getChatHistory'], }, }, description: 'Max number of results to return', hint: 'Số tin nhắn gần nhất cần lấy (mặc định 50). Zalo chỉ cho lấy N tin gần nhất, không phân trang sâu về quá khứ.', }, { displayName: 'Timestamp Bắt Đầu', name: 'timestamp', type: 'number', default: '', displayOptions: { show: { resource: ['content'], operation: ['getChatHistory'], }, }, description: 'Chỉ giữ tin nhắn từ thời điểm này trở đi (Unix timestamp bằng giây). Lưu ý: Zalo không hỗ trợ lọc theo thời gian, bộ lọc này chạy sau khi đã lấy về đủ "Giới Hạn" tin — muốn lấy xa hơn thì tăng "Giới Hạn". Để trống để lấy tin mới nhất.', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['inviteBox'], operation: ['getInviteInfo'], }, }, description: 'ID của nhóm đang có lời mời chờ', }, { displayName: 'Trang Thành Viên', name: 'memberPage', type: 'number', default: 1, displayOptions: { show: { resource: ['inviteBox'], operation: ['getInviteInfo'], }, }, description: 'Trang danh sách thành viên cần lấy', }, { displayName: 'Số Thành Viên Mỗi Trang', name: 'memberCount', type: 'number', default: 20, displayOptions: { show: { resource: ['inviteBox'], operation: ['getInviteInfo'], }, }, description: 'Số lượng thành viên tối đa mỗi trang', }, { displayName: 'Trang', name: 'page', type: 'number', default: 1, displayOptions: { show: { resource: ['inviteBox'], operation: ['getInviteList'], }, }, description: 'Trang danh sách lời mời cần lấy', }, { displayName: 'Số Lời Mời Mỗi Trang', name: 'invitesPerPage', type: 'number', default: 20, displayOptions: { show: { resource: ['inviteBox'], operation: ['getInviteList'], }, }, description: 'Số lượng lời mời tối đa mỗi trang', }, { displayName: 'ID Nhóm', name: 'groupId', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['inviteBox'], operation: ['joinFromInvite'], }, }, description: 'ID của nhóm cần tham gia từ lời mời', }, { displayName: 'Danh Sách ID Nhóm', name: 'groupIds', type: 'string', required: true, default: '', displayOptions: { show: { resource: ['inviteBox'], operation: ['deleteInvite'], }, }, description: 'Danh sách ID nhóm cần xóa/từ chối lời mời, phân cách bằng dấu phẩy', }, { displayName: 'Chặn Lời Mời Trong Tương Lai', name: 'blockFutureInvite', type: 'boolean', default: false, displayOptions: { show: { resource: ['inviteBox'], operation: ['deleteInvite'], }, }, description: 'Whether to block future invitations from these groups', }, ]; //# sourceMappingURL=ZaloGroup.properties.js.map