Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

609 B
Raw Blame
import { providerIdentity } from '../identity';
import type { ChatProvider } from '../index';
import { markdownToWhatsApp, whatsappToMarkdown } from './formatting';

export const whatsappProvider: ChatProvider = {
  ...providerIdentity('whatsapp'),
  badgeClass: 'bg-[#25D366] text-[#fff]',
  formatting: {
    toMarkdown: whatsappToMarkdown,
    fromMarkdown: markdownToWhatsApp,
  },
  // Text, formatting, files and mentions of the chat's own participants;
  // nothing Macro-only.
  composerFeatures: {
    mentions: 'participants',
    createItems: false,
    gifs: false,
    richBlocks: false,
  },
};