@iot9x.com/nestjs-ucpaas-sms
Version:
nestjs 云之讯平台短信集成插件
28 lines (27 loc) • 942 B
TypeScript
/** 发送变量模板短信附加参数 */
export interface SendVariableSmsParams {
/**
* 模板中对应的参数值
* @description 1. 参数值以竖线(|)分割,个数必须与号码个数一致;
* 2. 每个子参数以分号(;)分割,个数必须与模板中变量个数一致。
* @example 秒到1;123|秒到2;456|秒到3;789
*/
param?: string;
/**
* 自扩展端口
* @description 1-4位,只能为数字,可以为空
* @description 请先询问配置的通道是否支持自扩展端口,如果不支持,请填空
*/
extend?: string;
/**
* 请求时透传的uid
* @description 随状态报告返回,最长60位
*/
uid?: string;
/**
* 定时发送时间
* @description 为空表示立即发送,定时发送时间不得小于5分钟或者大于24小时。
* @example 20161111090005
*/
sendtime?: string;
}