import { HttpService } from '@nestjs/axios'; import { SendTemplateMessageResponse } from '../interfaces/response/template-message/send-template-message.response.interface'; import { SendTemplateMessageOptions } from '../interfaces/send-template-message-options.interface'; import { OfficialUtil } from '../utils/official.util'; export declare class OfficialTemplateMessageService { private readonly httpService; private readonly officialUtil; constructor(httpService: HttpService, officialUtil: OfficialUtil); /** * 发送模板消息 * @param appid 公众号appID * @param openid 接收人openid * @param templateId 模板消息ID * @param data 消息内容 * @param options 附加参数 * @returns 模板消息发送结果 */ sendTemplateMessage(appid: string, openid: string, templateId: string, data: Record, options?: SendTemplateMessageOptions): Promise; }