UNPKG

@kamuridesu/whatframework

Version:

A simple WhatsApp Bot Framework on top of Baileys

6 lines (5 loc) 338 B
import { WAMessage, WAMessageKey } from "baileys"; import { PollVoteAggragation } from "../../@types/poll.js"; import { IBot } from "../../@types/types.js"; declare function pollParser(key: WAMessageKey, pollUpdates: Pick<WAMessage, "pollUpdates" | "message">, bot: IBot): Promise<PollVoteAggragation | undefined>; export { pollParser };