import { InMsg } from './entity/message/input/InMsg'; import { InTextMsg } from './entity/message/input/InTextMsg'; import { OutMsg } from './entity/message/output/OutMsg'; import { InNotDefinedMsg } from './entity/message/input/InNotDefinedMsg'; import { InImageMsg } from './entity/message/input/InImageMsg'; import { InVideoMsg } from './entity/message/input/InVideoMsg'; import { InVoiceMsg } from './entity/message/input/InVoiceMsg'; import { InShortVideoMsg } from './entity/message/input/InShortVideoMsg'; import { InLocationMsg } from './entity/message/input/InLocationMsg'; import { InLinkMsg } from './entity/message/input/InLinkMsg'; import { InSpeechRecognitionResults } from './entity/message/input/InSpeechRecognitionResults'; import { InFollowEvent } from './entity/message/input/event/InFollowEvent'; import { InQrCodeEvent } from './entity/message/input/event/InQrCodeEvent'; import { InLocationEvent } from './entity/message/input/event/InLocationEvent'; import { InMenuEvent } from './entity/message/input/event/InMenuEvent'; import { InTemplateMsgEvent } from './entity/message/input/event/InTemplateMsgEvent'; import { OutTextMsg } from './entity/message/output/OutTextMsg'; /** * @description 消息适配器 */ export interface IMsgAdapter { processInTextMsg(inTextMsg: InTextMsg): Promise; processInImageMsg(inImageMsg: InImageMsg): Promise; processInVoiceMsg(inVoiceMsg: InVoiceMsg): Promise; processInVideoMsg(inVideoMsg: InVideoMsg): Promise; processInShortVideoMsg(inShortVideoMsg: InShortVideoMsg): Promise; processInLocationMsg(inLocationMsg: InLocationMsg): Promise; processInLinkMsg(inLinkMsg: InLinkMsg): Promise; processInSpeechRecognitionResults(inSpeechRecognitionResults: InSpeechRecognitionResults): Promise; processIsNotDefinedMsg(inNotDefinedMsg: InNotDefinedMsg): Promise; processInFollowEvent(inFollowEvent: InFollowEvent): Promise; processInQrCodeEvent(inQrCodeEvent: InQrCodeEvent): Promise; processInLocationEvent(inLocationEvent: InLocationEvent): Promise; processInMenuEvent(inMenuEvent: InMenuEvent): Promise; processInTemplateMsgEvent(inTemplateMsgEvent: InTemplateMsgEvent): Promise; renderOutTextMsg(inMsg: InMsg, content?: string): Promise; } export declare class MsgAdapter implements IMsgAdapter { processInTextMsg(inTextMsg: InTextMsg): Promise; processInImageMsg(inImageMsg: InImageMsg): Promise; processInVoiceMsg(inVoiceMsg: InVoiceMsg): Promise; processInVideoMsg(inVideoMsg: InVideoMsg): Promise; processInShortVideoMsg(inShortVideoMsg: InShortVideoMsg): Promise; processInLocationMsg(inLocationMsg: InLocationMsg): Promise; processInLinkMsg(inLinkMsg: InLinkMsg): Promise; processInSpeechRecognitionResults(inSpeechRecognitionResults: InSpeechRecognitionResults): Promise; processInFollowEvent(inFollowEvent: InFollowEvent): Promise; processInQrCodeEvent(inQrCodeEvent: InQrCodeEvent): Promise; processInLocationEvent(inLocationEvent: InLocationEvent): Promise; processInMenuEvent(inMenuEvent: InMenuEvent): Promise; processInTemplateMsgEvent(inTemplateMsgEvent: InTemplateMsgEvent): Promise; processIsNotDefinedMsg(inNotDefinedMsg: InNotDefinedMsg): Promise; renderOutTextMsg(inMsg: InMsg, content?: string | undefined): Promise; }