@whiskeysockets/baileys
Version:
A WebSockets library for interacting with WhatsApp Web
13 lines (12 loc) • 387 B
TypeScript
import { USyncQueryProtocol } from '../../Types/USync';
import { BinaryNode } from '../../WABinary';
export type StatusData = {
status?: string | null;
setAt?: Date;
};
export declare class USyncStatusProtocol implements USyncQueryProtocol {
name: string;
getQueryElement(): BinaryNode;
getUserElement(): null;
parser(node: BinaryNode): StatusData | undefined;
}