Class SmsClientImpl

    • Method Detail

      • init

        public SmsClient init​(io.vertx.core.json.JsonObject params)
        Specified by:
        init in interface SmsClient
        Specified by:
        init in interface io.vertx.up.plugin.TpClient<SmsClient>
      • send

        public 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)
        Description copied from interface: SmsClient
        Send messsage to mobile by template
        Specified by:
        send in interface SmsClient
        Parameters:
        mobile - mobile number
        tplCode - default template codes
        params - params for template
        Returns:
        self reference