public interface SmsClient extends TpClient<SmsClient>
| Modifier and Type | Method and Description |
|---|---|
static SmsClient |
createShared(io.vertx.core.Vertx vertx) |
SmsClient |
init(io.vertx.core.json.JsonObject params) |
SmsClient |
send(String mobile,
String tplCode,
io.vertx.core.json.JsonObject params,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
Send messsage to mobile by template
|
static SmsClient createShared(io.vertx.core.Vertx vertx)
SmsClient init(io.vertx.core.json.JsonObject params)
SmsClient send(String mobile, String tplCode, io.vertx.core.json.JsonObject params, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
mobile - mobile numbertplCode - default template codesparams - params for templateCopyright © 2020. All rights reserved.