UNPKG

@tnwx/wxcp

Version:

TNWX 微信系开发脚手架之极速开发企业微信/企业号

25 lines (24 loc) 948 B
import { QyBaseMsg } from './QyBaseMsg'; /** * @author Javen * @copyright javendev@126.com * @description 文本消息 */ export declare class QyTextMsg extends QyBaseMsg { private text; constructor(text: QyText, agentId?: string, toUser?: string, toParty?: string, toTag?: string, safe?: number, enableIdTrans?: number, enableDuplicateCheck?: number, duplicateCheckInterval?: number); get getText(): QyText; set setText(text: QyText); } export declare class QyText { private content; private mentioned_list; private mentioned_mobile_list; constructor(content: string, mentionedList?: Array<string>, mentionedMobileList?: Array<string>); set setContent(content: string); get getContent(): string; set mentionedList(mentioned_list: Array<string>); get mentionedList(): Array<string>; set mentionedMobileList(mentionedMobileList: Array<string>); get mentionedMobileList(): Array<string>; }