UNPKG

node-easysms

Version:

EasySMS is an SMS sender for Node.js

18 lines (17 loc) 650 B
import { Gateway } from "../Core/Gateway"; import { Message } from "../Core/Message"; import { PhoneNumber } from "../Core/PhoneNumber"; /** * 腾讯云短信服务 * @see https://cloud.tencent.com/document/product/382/55981 */ export declare class TencentGateway extends Gateway<TencentGatewayConfig> { static ENDPOINT_URL: string; static ENDPOINT_HOST: string; static ENDPOINT_SERVICE: string; static ENDPOINT_METHOD: string; static ENDPOINT_VERSION: string; static ENDPOINT_FORMAT: string; send(to: PhoneNumber, message: Message): Promise<any>; generateSign(params: Record<string, any>, time: string): string; }