node-easysms
Version:
EasySMS is an SMS sender for Node.js
13 lines (12 loc) • 502 B
TypeScript
import { Gateway } from "../Core/Gateway";
import { Message } from "../Core/Message";
import { PhoneNumber } from "../Core/PhoneNumber";
/**
* 七牛云短信服务
* @see https://developer.qiniu.com/sms/5897/sms-api-send-message
*/
export declare class QiniuGateway extends Gateway<QiniuGatewayConfig> {
static ENDPOINT_URL: string;
send(to: PhoneNumber, message: Message): Promise<any>;
protected generateSign(url: string, method: string, body: string, contentType: string): string;
}