UNPKG

@whiskeysockets/baileys

Version:

A WebSockets library for interacting with WhatsApp Web

11 lines 548 B
import { proto } from '../../WAProto/index.js'; import type { WAMessageContent, WAMessageKey } from '../Types/index.js'; import type { BinaryNode } from '../WABinary/index.js'; export type ReportingField = { f: number; m?: boolean; s?: ReportingField[]; }; export declare const shouldIncludeReportingToken: (message: proto.IMessage) => boolean; export declare const getMessageReportingToken: (msgProtobuf: Buffer, message: WAMessageContent, key: WAMessageKey) => Promise<BinaryNode | null>; //# sourceMappingURL=reporting-utils.d.ts.map