@stackchat/dynamic-content-toolkit
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.9 • Public • Published

    @stackchat/dynamic-content-toolkit

    Dynamically create conversational elements for your cloud function

    Installation

    npm: npm install @stackchat/dynamic-content-toolkit

    yarn: yarn add @stackchat/dynamic-content-toolkit

    Usage

    import { MessageThread, Message } from "@stackchat/dynamic-content-toolkit";
    
    const message = new Message("Hello World!");
    message.additionalData = {
      additionalProperty: "Some data"
    };
    
    const thread = new MessageThread();
    
    thread.messages.push(message);

    Keywords

    none

    Install

    npm i @stackchat/dynamic-content-toolkit@0.0.9

    Version

    0.0.9

    License

    See License in License

    Unpacked Size

    16 kB

    Total Files

    8

    Last publish

    Collaborators

    • mszu
    • marrobin