mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-09 04:13:17 +08:00
11 lines
452 B
JavaScript
11 lines
452 B
JavaScript
import { TOKEN_BOT_ENDPOINTS, createTokenChannelApi } from '../shared/token-api.js';
|
|
|
|
export const TELEGRAM_RPC_CHANNEL = '/telegram';
|
|
export const TELEGRAM_ENDPOINTS = TOKEN_BOT_ENDPOINTS;
|
|
|
|
const api = createTokenChannelApi('Telegram', ' Bot API 长轮询');
|
|
|
|
export const unwrapRpcResult = api.unwrapRpcResult;
|
|
export const normalizeSnapshot = api.normalizeSnapshot;
|
|
export const presentError = api.presentError;
|
|
export { api as telegramClientApi };
|