UNPKG

@kamuridesu/whatframework

Version:

A simple WhatsApp Bot Framework on top of Baileys

6 lines (5 loc) 428 B
import { Bot } from "../src/modules/bot.js"; import { IBot, IMessage } from "../@types/types.js"; declare function createSticker(context: IMessage, bot: Bot, author: string, packname: string): Promise<IMessage | undefined>; declare function createStickerFromMedia(tempFile: string, bot: IBot, context: IMessage, packname: string, author: string): Promise<IMessage | undefined>; export { createSticker, createStickerFromMedia };