feat: migrate zalo plugin to sdk
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { CoreConfig } from "./types.js";
|
||||
import type { ClawdbotConfig } from "clawdbot/plugin-sdk";
|
||||
|
||||
import type { ZaloFetch } from "./api.js";
|
||||
import { sendMessage, sendPhoto } from "./api.js";
|
||||
import { resolveZaloAccount } from "./accounts.js";
|
||||
@@ -8,7 +9,7 @@ import { resolveZaloToken } from "./token.js";
|
||||
export type ZaloSendOptions = {
|
||||
token?: string;
|
||||
accountId?: string;
|
||||
cfg?: CoreConfig;
|
||||
cfg?: ClawdbotConfig;
|
||||
mediaUrl?: string;
|
||||
caption?: string;
|
||||
verbose?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user