Feishu channel impl: receives and processes messages via Feishu bot.
// Source: https://github.com/OpenCoworkAI/open-cowork | License: MIT | Copyright 2026 OpenCoworkAI
// Provided via justclaw.it.com; keep this notice with the code.
/**
* Feishu (飞书) Channel
* 实现飞书机器人的消息接收和发送
*/
import * as crypto from 'crypto';
import * as dns from 'dns';
import { promisify } from 'util';
import { ChannelBase, withRetry } from '../channel-base';
import { log, logError, logWarn } from '../../../utils/logger';
import type {
FeishuChannelConfig,
RemoteMessage,
RemoteResponse,
RemoteContent,
RemoteResponseContent,
} from '../../types';
import { AESCipher } from '@larksuiteoapi/node-sdk';
import { FeishuAPI } from './feishu-api';
import { FeishuWSClient } from './feishu-ws-client';
export class FeishuChannel extends ChannelBase {
readonly type = 'feishu' as co
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key