feat: migrate zalo plugin to sdk
This commit is contained in:
@@ -138,7 +138,7 @@ export type {
|
||||
ChannelOnboardingAdapter,
|
||||
ChannelOnboardingDmPolicy,
|
||||
} from "../channels/plugins/onboarding-types.js";
|
||||
export { addWildcardAllowFrom } from "../channels/plugins/onboarding/helpers.js";
|
||||
export { addWildcardAllowFrom, promptAccountId } from "../channels/plugins/onboarding/helpers.js";
|
||||
export { promptChannelAccessConfig } from "../channels/plugins/onboarding/channel-access.js";
|
||||
|
||||
export {
|
||||
|
||||
@@ -41,7 +41,14 @@ export type PluginRuntime = {
|
||||
channel: string;
|
||||
accountId: string;
|
||||
peer: { kind: "dm" | "group" | "channel"; id: string };
|
||||
}) => { sessionKey: string; accountId: string };
|
||||
}) => {
|
||||
agentId: string;
|
||||
channel: string;
|
||||
accountId: string;
|
||||
sessionKey: string;
|
||||
mainSessionKey: string;
|
||||
matchedBy: string;
|
||||
};
|
||||
};
|
||||
pairing: {
|
||||
buildPairingReply: (params: { channel: string; idLine: string; code: string }) => string;
|
||||
|
||||
Reference in New Issue
Block a user