removeReminder

Xóa nhắc hẹn

api.removeReminder(reminderId, threadId[, type])

Parameters

  • reminderId string

  • threadId string

  • type ThreadType?

    • mặc định ThreadType.User

Return

Promise<RemoveReminderResponse>

Types

export type RemoveReminderResponse = "" | number;

Examples

import { ThreadType } from "zca-js";

const reminderId = "reminderId1";
const groupId = "0000000000000000000";

api.removeReminder(reminderId, groupId, ThreadType.Group)
    .then(console.log)
    .catch(console.error);

Last updated