Example #1
0
 /// <summary>
 /// 发送单条模板短信
 /// </summary>
 /// <param name="template_id">模板ID</param>
 /// <param name="pm">模板参数</param>
 /// <param name="mobile">目标手机号</param>
 /// <param name="rid">记录ID, 用于返回结果后的后续处理, 非必填</param>
 /// <param name="filter_nonnumber">是否过滤手机号中包含的非数字字符</param>
 /// <returns>发送结果</returns>
 public virtual SMSResponse sendTemplate(long template_id, Dictionary <string, string> pm, string mobile, string rid, bool filter_nonnumber)
 {
     return(SMSResponse.errorNotSupported());
 }
Example #2
0
 /// <summary>
 /// 发送语音验证码
 /// </summary>
 /// <param name="auth_code">验证码, 一般为4~6位数字</param>
 /// <param name="mobile">目标手机号</param>
 /// <param name="rid">记录ID, 用于返回结果后的后续处理, 非必填</param>
 /// <param name="filter_nonnumber">是否过滤手机号中包含的非数字字符</param>
 /// <returns>发送结果</returns>
 public virtual SMSResponse sendVoiceAuth(string auth_code, string mobile, string rid, bool filter_nonnumber)
 {
     return(SMSResponse.errorNotSupported());
 }
Example #3
0
 /// <summary>
 /// 发送单条短信
 /// </summary>
 /// <param name="content">短信内容</param>
 /// <param name="mobile">目标手机号</param>
 /// <param name="rid">记录ID, 用于返回结果后的后续处理, 非必填</param>
 /// <param name="filter_nonnumber">是否过滤手机号中包含的非数字字符</param>
 /// <returns>发送结果</returns>
 public virtual SMSResponse send(string content, string mobile, string rid, bool filter_nonnumber)
 {
     return(SMSResponse.errorNotSupported());
 }