UNPKG

node-easysms

Version:

EasySMS is an SMS sender for Node.js

15 lines (14 loc) 622 B
import { Gateway } from "../Core/Gateway"; import { Message } from "../Core/Message"; import { PhoneNumber } from "../Core/PhoneNumber"; /** * 云片短信服务 * @see [按内容发送](https://www.yunpian.com/doc/zh_CN/domestic/single_send.html) * @see [按模板发送](https://www.yunpian.com/doc/zh_CN/domestic/tpl_single_send.html) */ export declare class YunpianGateway extends Gateway<YunpianGatewayConfig> { static ENDPOINT_DOMAIN: string; static ENDPOINT_VERSION: string; send(to: PhoneNumber, message: Message): Promise<any>; protected buildEndpoint(func: string, domain: string): string; }