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.

773 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 feishu: PlatformDefinition = {
  id: 'feishu',
  name: 'Feishu',
  connectionMode: DEFAULT_FEISHU_CONNECTION_MODE,
  description: 'Connect a Feishu bot',
  documentation: {
    portalUrl: 'https://open.feishu.cn/app',
    setupGuideUrl: channelDocUrl('feishu'),
  },
  schema: sharedSchema,
  supportsMarkdown: false,
  unsupportedMessageApis: PLATFORM_UNSUPPORTED_MESSAGE_APIS.feishu,
  clientFactory: sharedClientFactory,
};