UNPKG

wechaty-puppet-padplus

Version:
13 lines 996 B
import { RequestClient } from './request'; import { StreamResponse } from '../../server-manager/proto-ts/PadPlusServer_pb'; import { PadplusMessageType, PadplusRichMediaData, GrpcResponseMessageData } from '../../schemas'; export declare class PadplusMessage { private requestClient; constructor(requestClient: RequestClient); sendMessage(selfId: string, receiverId: string, content: string, messageType: PadplusMessageType, mentionListStr?: string): Promise<GrpcResponseMessageData>; sendUrlLink: (selfId: string, receiverId: string, content: string) => Promise<GrpcResponseMessageData>; sendContact: (selfId: string, receiver: string, content: string) => Promise<GrpcResponseMessageData>; sendFile: (selfId: string, receiver: string, url: string, fileName: string, subType: string, fileSize?: number | undefined) => Promise<GrpcResponseMessageData>; loadRichMeidaData(mediaData: PadplusRichMediaData): Promise<StreamResponse>; } //# sourceMappingURL=message.d.ts.map