UNPKG

@periskope/baileys

Version:

WhatsApp API

26 lines 806 B
import type { USyncQueryProtocol } from '../../Types/USync.js'; import { type BinaryNode } from '../../WABinary/index.js'; import { USyncUser } from '../USyncUser.js'; export type BotProfileCommand = { name: string; description: string; }; export type BotProfileInfo = { jid: string; name: string; attributes: string; description: string; category: string; isDefault: boolean; prompts: string[]; personaId: string; commands: BotProfileCommand[]; commandsDescription: string; }; export declare class USyncBotProfileProtocol implements USyncQueryProtocol { name: string; getQueryElement(): BinaryNode; getUserElement(user: USyncUser): BinaryNode; parser(node: BinaryNode): BotProfileInfo; } //# sourceMappingURL=UsyncBotProfileProtocol.d.ts.map