First take on recipient node
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
defaults: {
|
||||
name: {value:"Chats Out"},
|
||||
whatsappLink: {value:"whatsapp-web", type:'whatsappLink'},
|
||||
number: {value: ""}
|
||||
recipient: {value:"", type:'number-recipient', required:false}
|
||||
},
|
||||
outputs:0,
|
||||
inputs:1,
|
||||
@@ -27,17 +27,14 @@
|
||||
<input type="text" id="node-input-whatsappLink" placeholder="Name">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-number"><i class="fa fa-address-card-o"></i> Number</label>
|
||||
<input type="text" id="node-input-number" placeholder="Mobile or Group Number..">
|
||||
<label for="node-input-recipient"><i class="fa fa-user"></i> Recipient</label>
|
||||
<input type="text" id="node-input-recipient" placeholder="Select or add recipient">
|
||||
</div>
|
||||
<div class="form-tips">
|
||||
<p>Don't forget to mention international dialing code befor your number.
|
||||
Number must be in format like <b>+11 99999 99999</b> without any space.</p>
|
||||
<P><b>OR</b></P>
|
||||
<P>Leave the Number blank here and provide the number along with msg.paylod
|
||||
at `msg.toNumber` with international code.</P>
|
||||
<p>To send message on multiple contacts an Arrar of number can be passed
|
||||
on `msg.toNumber` like `msg.toNumber = ["+1199999999", "+12990000099", "+1311111111"].</p>
|
||||
<p><b>Recipient:</b> Select a reusable Number Recipient configuration (optional).</p>
|
||||
<p><b>Override at runtime:</b> Provide <code>msg.toNumber</code> to override the configured recipient.</p>
|
||||
<p>Number format: <b>+11 99999 99999</b> (international dialing code, no spaces).</p>
|
||||
<p>For multiple contacts, pass an array: <code>msg.toNumber = ["+1199999999", "+12990000099"]</code></p>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user