Chuyển tới nội dung chính

unfollowOA

import { unfollowOA } from "zmp-sdk";

API cho phép ứng dụng hiển thị giao diện yêu cầu bỏ theo dõi Official Account để người dùng xác nhận.

Ví dụ

Hiển thị giao diện yêu cầu bỏ theo dõi Official Account:

await unfollowOA({
id: "xxxx",
});

Xem hướng dẫn xử lý lỗi và bảng mô tả chi tiết mã lỗi tại đây.

Tham số

Truyền tham số vào API dưới dạng object chứa các thuộc tính:

PropertyTypeRequiredDescription
idstringYesId của Official Account.