@juzi/wechaty
Version:
Wechaty is a RPA SDK for Chatbot Makers.
32 lines • 1.53 kB
TypeScript
import { types } from '@juzi/wechaty-puppet';
import type { Constructor } from 'clone-class';
import type { RoomAntiSpamStrategy } from '@juzi/wechaty-puppet/types';
declare const WecomMixin_base: ((abstract new (...args: any[]) => {
readonly wechaty: import("../wechaty/wechaty-impl.js").WechatyInterface;
}) & {
readonly wechaty: import("../wechaty/wechaty-impl.js").WechatyInterface;
}) & {
new (): {};
};
declare class WecomMixin extends WecomMixin_base {
static getExternalUserId(contactIds: string[], serviceProviderId?: string): Promise<types.ContactIdExternalUserIdPair[]>;
static getRoomAntiSpamStrategyList(): Promise<RoomAntiSpamStrategy[]>;
static getRoomAntiSpamStrategyEffectRoomList(strategyId: string): Promise<string[]>;
static applyRoomAntiSpamStrategy(strategyId: string, roomIds: string[], active: boolean): Promise<void>;
static getCorpMessageInterceptionStrategies(): Promise<types.CorpMessageInterceptionStrategy[]>;
constructor();
}
declare const WecomImpl_base: {
new (...args: any[]): {};
valid: (o: any) => o is WecomInterface;
validInstance: (target: any) => target is WecomMixin;
validInterface: (target: any) => target is WecomInterface;
} & typeof WecomMixin;
declare class WecomImpl extends WecomImpl_base {
}
interface WecomInterface extends WecomImpl {
}
declare type WecomConstructor = Constructor<WecomInterface, typeof WecomImpl>;
export type { WecomConstructor, WecomInterface, };
export { WecomImpl, };
//# sourceMappingURL=wecom.d.ts.map