Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

765 B
Raw Blame
import { channelDocUrl } from '@lobechat/const';

import { PLATFORM_UNSUPPORTED_MESSAGE_APIS } from '../../messageCapabilities';
import type { PlatformDefinition } from '../../types';
import { DEFAULT_FEISHU_CONNECTION_MODE } from '../const';
import { sharedSchema } from './schema';
import { sharedClientFactory } from './shared';

export const lark: PlatformDefinition = {
  id: 'lark',
  name: 'Lark',
  connectionMode: DEFAULT_FEISHU_CONNECTION_MODE,
  description: 'Connect a Lark bot',
  documentation: {
    portalUrl: 'https://open.larksuite.com/app',
    setupGuideUrl: channelDocUrl('lark'),
  },
  schema: sharedSchema,
  supportsMarkdown: false,
  unsupportedMessageApis: PLATFORM_UNSUPPORTED_MESSAGE_APIS.lark,
  clientFactory: sharedClientFactory,
};