UNPKG

@delirius/welcard

Version:

WelCard is a lightweight and futuristic welcome card library designed for WhatsApp Bots.

14 lines (13 loc) 684 B
/// <reference types="node" /> /// <reference types="node" /> /** * Creates a personalized canvas image with a background, title, name, and profile picture. * * @param backgroundurl - The URL of the background image to use. * @param title - The title text to display on the canvas. * @param name - The name text to display on the canvas. * @param perfil - The URL of the profile picture to include in the canvas. * @returns A promise that resolves to a PNG image buffer of the created canvas. */ declare function createPersonalityCanvas(backgroundurl?: string, title?: string, name?: string, perfil?: string): Promise<Buffer>; export { createPersonalityCanvas };